【发布时间】:2019-03-08 10:26:37
【问题描述】:
我正在尝试运行一些 PowerShell 命令,但我的脚本在以下行中失败:
$ipsr = New-Object Microsoft.Azure.IpSecurityRestriction
错误是:
Cannot find type [Microsoft.Azure.IpSecurityRestriction]: verify that the assembly containing this type is loaded
我正在尝试在 Azure PowerShell 任务中运行这个“内联”,作为我的部署管道的一部分。这是支持还是我需要先导入程序集?
【问题讨论】:
-
您好,能否告诉我它是否解决了您的问题?
-
抱歉耽搁了。是的,你的回复解决了我的问题。非常感谢。
标签: azure-powershell