我正在尝试使用Azure web界面更新Azure自动化模块。 剧本 Update-AutomationAzureModulesForAccount 运行时没有错误,但模块不会更新到最新版本。例如 AzureRM.profile 更新至4.2.0,最新版本为4.3.0。 如果选择安装,也不会发生更新 蓝色。轮廓 4.3.0,并选中“更新Nessery模块”选项。 原因可能是什么?
Update-AutomationAzureModulesForAccount
AzureRM.profile
蓝色。轮廓
Azure Automation当前与PS Gallery上的最新模块版本存在问题。因此, Update-AutomationAzureModulesForAccount 暂时重定向到最新已知的良好版本,而不是最新版本。我们希望在未来几天内解决这个问题。
此限制应用于更新Azure模块按钮和 更新AutomationAzuRemomodulesforaccount 仅限runbook。因此,如果使用任何其他方法导入模块,则没有限制。例如,如果在上选择特定模块版本 https://www.powershellgallery.com/ 并按下部署到Azure Automation按钮,这是将部署到Azure Automation的版本。但是,除非您现在有充分的理由使用最新版本,否则我建议您使用Update Azure模块按钮和 更新AutomationAzuRemomodulesforaccount runbook。
更新AutomationAzuRemomodulesforaccount