2016-07-03 38 views
0

我已经安装了Windows Azure PowerShell。术语'Add-AzureAccount'不被识别

后,当我为管理员我得到一个错误开始为的Windows Azure PowerShell的---

Saying The term 'Add-AzureAccount' is not recognized 

ScreenShot

我怎样才能解决这个错误,任何人都知道的任何解决方案!

+0

你安装了什么版本的Azure PowerShell?您是否尝试过关闭PowerShell并在安装后重新打开 – Casey

回答

5

运行该cmdlet之前,可以尝试

Import-Module Azure 

如果没有找到该模块,你可以尝试

Install-Module Azure 

一定要运行PowerShell中以管理员身份后者。