Introduction

Completed

In this module, you learn to use scheduled jobs. They're similar to background jobs and run asynchronously in the background. In Windows PowerShell, scheduled jobs are essentially scheduled tasks. They follow all of the same rules for actions, triggers, and other features, and run Windows PowerShell scripts by design.

Learning objectives

After completing this module, you'll be able to:

  • Explain how to run Windows PowerShell scripts as scheduled tasks.
  • Explain the purpose and use of scheduled jobs.
  • Create job options and triggers.
  • Create scheduled jobs.
  • Retrieve scheduled job results.

Prerequisites

Familiarity with:

  • Windows networking technologies and implementation
  • Windows Server administration, maintenance, and troubleshooting
  • Windows PowerShell and its commands to perform specific tasks
  • PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration
  • Windows PowerShell pipeline, PowerShell providers, and PowerShell drives
  • CIM and WMI technologies
  • Using variables, arrays, hash tables, and scripting constructs in Windows PowerShell
  • Administering remote computers with Windows PowerShell
  • Managing Azure resources and Microsoft 365 services with Windows PowerShell