2016-07-03 37 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中以管理員身份後者。