【发布时间】:2019-05-27 14:10:20
【问题描述】:
当我尝试使用 PowerShell 安装 Azure Az 时出现以下异常:
已安装 PowerShell 5.1 和 .NET。以前安装的所有 AzureRM、Azure 和 Azure Az 模块现在都已卸载。
我尝试了不同的版本,有 clobber 和没有,有 force 和没有,我还在管理员 powershell 中执行了命令。 例如:
- Install-Module -Name Az -AllowClobber
- Install-Module -Name Az -RequiredVersion 2.0.0
我已经在这台计算机上安装了 Azure Az,但必须将其卸载。我用这个script by Microsoft卸载了它。
【问题讨论】:
标签: azure powershell azure-powershell