问题描述
Hi Team,
我无法使用PowerShell& amp连接到azure低于错误。我已经安装了&更新了AZURERM模块。请指导我。
I am unable to connect to azure using PowerShell & getting below error. I have already installed & updated AZURERM module. Please guide me.
谢谢
Jeetu
Jeetu
推荐答案
您能告诉我们正在使用的Powershell版本吗?
Could you please let us know the Powershell version being used?
请尝试重新 - 导入AzureRM模块并重新尝试登录:
Please try re-importing the AzureRM module and re-try logging in:
Import-Module -Name "AzureRM" -Force
登录-AnlandRmAccount
Login-AzureRmAccount
导入模块 cmdlet将一个或多个模块添加到当前会话,前提是它们已安装在本地计算机上。从Windows PowerShell 3.0开始,当您在模块中使用任何命令或提供程序时,已安装的模块会自动导入到会话
。
The Import-Module cmdlet adds one or more modules to the current session provided they are already installed on the local computer. Starting in Windows PowerShell 3.0, installed modules are automatically imported to the session when you use any commands or providers in the module.
在旁注中,您是否还有Powershell Az模块与AzureRM一起安装?因为这可能会导致一些问题。
On a side note, do you also have the Powershell Az module installed alongside AzureRM? As this might lead to a few issues.
这篇关于无法使用PowerShell连接到azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!