我正在尝试针对Azure做一些非常基本的PowerShell,但登录行为很奇怪(?)。
为什么PowerShell会话中没有Login-AzureRmAccount
持久存在?
答案 0 :(得分:1)
所以我终于找到了解决问题的方法:
crc
我也试过了Install-Module AzureRm -AllowClobber
但是没有用。它只是说没有问题。
sfc scannow
也没有用。
起初我不想运行Install-Module AzureRm -Force
,但在阅读了http://adamringenberg.com/powershell2/tag/allowclobber/之后,它没有发出 的错误,所以我试了一下。