O'Reilly logo

PowerShell in Depth: An administrator's guide by Don Jones, Richard Siddaway, and Jeffery Hicks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Background jobs and scheduling

This chapter covers

  • Creating jobs
  • Retrieving job results
  • Managing the job queue
  • Using scheduled jobs

In PowerShell, jobs are one of the many extension points provided to the shell for developers to build on. Jobs allow you to run tasks asynchronously—you get the prompt back to continue working while PowerShell runs the job in the background. PowerShell v3 defines three broad but distinct types of jobs: those based on the Remoting architecture covered in the previous chapter (also known as background jobs), those based on WMI and CIM, and those based on a new “scheduled job” architecture. Each of these jobs works slightly differently, but all of them represent the same essential thing: a unit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required