AzureRM.Automation cmdlet 预览
发布日期:九月 26, 2018
我们已发布预览版 AzureRM.Automation cmdlet。此版本包含适用于更新管理和源代码管理功能的新 cmdlet。
可以从 PowerShell 库获取预览版模块。
也可通过运行以下命令获取此模块:
Install-Module -Name PowerShellGet
该命令可获取最新版本的 PowerShellGet。需要重启 PowerShell 会话才可使用 -AllowPrerelease 参数。
拥有最新版 PowerShellGet 后,即可通过运行以下命令获取预览版 AzureRM.Automation cmdlet:
Install-Module -Name AzureRM.Automation –AllowPrerelease
新的 cmdlet 包括:
Get-AzureRmAutomationSoftwareUpdateConfiguration
Get-AzureRmAutomationSoftwareUpdateMachineRun
Get-AzureRmAutomationSoftwareUpdateRun
New-AzureRmAutomationSoftwareUpdateConfiguration
Remove-AzureRmAutomationSoftwareUpdateConfiguration
Get-AzureRmAutomationSourceControl
Get-AzureRmAutomationSourceControlSyncJob
Get-AzureRmAutomationSourceControlSyncJobOutput
New-AzureRmAutomationSourceControl
Remove-AzureRmAutomationSourceControl
Start-AzureRmAutomationSourceControlSyncJob
Update-AzureRmAutomationSourceControl
完成安装后,可通过运行 Get-Command -Module AzureRM.Automation
获取完整的可用 cmdlet 列表。