Azure Powershell AZ模块仍然无法在Azure Devops管道中工作吗?
当我尝试Powershell 4+和代理是2017(也尝试过Windows 2019)时出现此错误
#Install-Module -Name Az -AllowClobber -Scope CurrentUser (is this needed? I tried with and #without and it fails)
Set-AzureRmDataFactoryV2 -ResourceGroupName "myRG" -Name "LLmenADF1" -Location "North Europe"
如果您使用的是Powershell Az模块,则该cmdlet为:
Set-AzDataFactoryV2
您的cmdlet引用了旧库AzureRM。若要在从一个库迁移到另一个库时获得相同的cmdlet,只需将AzureRM替换为Az。
希望这对您有所帮助!
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句