我在AzureRM下看到了Connect-AzureRmAccount命令。个人资料:
Get-Command -Module AzureRM.Profile*
CommandType Name Version
Cmdlet Connect-AzureRmAccount 0.13.1
但当我运行它时,会出现以下错误:
Connect-AzureRmAccount : The term 'Connect-AzureRmAccount' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Connect-AzureRmAccount
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-AzureRmAccount:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我搜索了stackoverflow,检查了我是否有最新的Powershell版本,是否有NetCore。已安装预览。我想不出是怎么回事,有人能给我指点一下吗?