Create and manage scheduled jobs using Windows PowerShell

Intermediate
Administrator
Azure
Microsoft Entra ID
Azure Cloud Shell
Azure PowerShell
Azure Virtual Machines
Microsoft 365

This module covers how to use scheduled jobs. In Windows PowerShell, scheduled jobs are essentially scheduled tasks. They follow the same rules for actions, triggers, and other features, and run Windows PowerShell scripts by design.

Learning objectives

Upon completion of this module, the learner will be able to:

  • Explain how to run Windows PowerShell scripts as scheduled tasks.

  • Create and run a Windows PowerShell script as a scheduled task.

  • Explain the purpose and use of scheduled jobs.

  • Create job options and triggers.

  • Create scheduled jobs.

  • Retrieve scheduled job results.

  • Use scheduled jobs.

Prerequisites

  • Familiarity with Windows networking technologies and implementation

  • Familiarity with Windows Server administration, maintenance, and troubleshooting

  • Familiarity with Windows PowerShell and its commands to perform specific tasks

  • Familiarity with PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration

  • Familiarity with Windows PowerShell pipeline, PowerShell providers, and PowerShell drives

  • Familiarity with CIM and WMI technologies

  • Familiarity to use variables, arrays, hash tables, and scripting constructs in Windows PowerShell

  • Familiarity to administer remote computers with Windows PowerShell

  • Familiarity to manage Azure resources and Microsoft 365 services with Windows PowerShell