PowerShell cmdlets reference for Azure Scheduler
Important
Azure Logic Apps is replacing Azure Scheduler, which is being retired. To continue working with the jobs that you set up in Scheduler, please migrate to Azure Logic Apps as soon as possible.
Note
This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see Introducing the new Azure PowerShell Az module. For Az module installation instructions, see Install Azure PowerShell.
To author scripts for creating and managing Scheduler jobs and job collections, you can use PowerShell cmdlets. This article lists the major PowerShell cmdlets for Azure Scheduler with links to their reference articles. To install Azure PowerShell for your Azure subscription, see How to install and configure Azure PowerShell. For more information about Azure Resource Manager cmdlets, see Using Azure PowerShell with Azure Resource Manager.
Cmdlet | Description |
---|---|
Disable-AzSchedulerJobCollection | Disables a job collection. |
Enable-AzureRmSchedulerJobCollection | Enables a job collection. |
Get-AzSchedulerJob | Gets Scheduler jobs. |
Get-AzSchedulerJobCollection | Gets job collections. |
Get-AzSchedulerJobHistory | Gets job history. |
New-AzSchedulerHttpJob | Creates an HTTP job. |
New-AzSchedulerJobCollection | Creates a job collection. |
New-AzSchedulerServiceBusQueueJob | Creates a Service Bus queue job. |
New-AzSchedulerServiceBusTopicJob | Creates a Service Bus topic job. |
New-AzSchedulerStorageQueueJob | Creates a Storage queue job. |
Remove-AzSchedulerJob | Removes a Scheduler job. |
Remove-AzSchedulerJobCollection | Removes a job collection. |
Set-AzSchedulerHttpJob | Modifies a Scheduler HTTP job. |
Set-AzSchedulerJobCollection | Modifies a job collection. |
Set-AzSchedulerServiceBusQueueJob | Modifies a Service Bus queue job. |
Set-AzSchedulerServiceBusTopicJob | Modifies a Service Bus topic job. |
Set-AzSchedulerStorageQueueJob | Modifies a Storage queue job. |
For more details, you can run any of these cmdlets:
Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full
See also
Feedback
Loading feedback...