Azure 计划程序 PowerShell cmdlet 参考PowerShell cmdlets reference for Azure Scheduler
重要
Azure 逻辑应用将替代即将停用的 Azure 计划程序。Azure Logic Apps is replacing Azure Scheduler, which is being retired. 若要继续使用在计划程序中设置的作业,请尽快迁移到 Azure 逻辑应用。To continue working with the jobs that you set up in Scheduler, please migrate to Azure Logic Apps as soon as possible.
计划程序在 Azure 门户中不再可用,但 REST API 和 Azure 计划程序 PowerShell cmdlet 目前仍可用,以便你可以管理作业和作业集合。Scheduler is no longer available in the Azure portal, but the REST API and Azure Scheduler PowerShell cmdlets remain available at this time so that you can manage your jobs and job collections.
若要编写脚本以创建和管理计划程序作业和作业集合,可以使用 PowerShell cmdlet。To author scripts for creating and managing Scheduler jobs and job collections, you can use PowerShell cmdlets. 本文列出了主要 Azure 计划程序 PowerShell cmdlet,以及指向其参考文章的链接。This article lists the major PowerShell cmdlets for Azure Scheduler with links to their reference articles. 要为 Azure 订阅安装 Azure PowerShell,请参阅如何安装和配置 Azure PowerShell。To install Azure PowerShell for your Azure subscription, see How to install and configure Azure PowerShell. 有关 Azure 资源管理器 cmdlet 的详细信息,请参阅将 Azure PowerShell 与 Azure 资源管理器配合使用。For more information about Azure Resource Manager cmdlets, see Using Azure PowerShell with Azure Resource Manager.
备注
本文进行了更新,以便使用新的 Azure PowerShell Az 模块。This article has been updated to use the new Azure PowerShell Az module. 你仍然可以使用 AzureRM 模块,至少在 2020 年 12 月之前,它将继续接收 bug 修补程序。You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. 若要详细了解新的 Az 模块和 AzureRM 兼容性,请参阅新 Azure Powershell Az 模块简介。To learn more about the new Az module and AzureRM compatibility, see Introducing the new Azure PowerShell Az module. 有关 Az 模块安装说明,请参阅安装 Azure PowerShell。For Az module installation instructions, see Install Azure PowerShell.
有关详细信息,可以运行以下任何 cmdlet: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