I'm trying to install Azure Powershell, following the instructions on this page.
The installation seems to run fine and proceeds without errors.
However, once it's finished, I can't manage to find the Azure Powershell
application. I dispose of various terminals
- Windows Azure Command Prompt
- Windows Azure Storage Command line
But none of these seems to work. By work, I mean successfully run the first command in the example :
Add-AzureAccount
When I do, it gives me the following error :
'Add-Azure Account' is not recognized as an internal control
or external, operable program or batch file.
On top of that, I see no mention of azure Powershell in my "All installed softwares" list :
I can run the following commands successfully :
Import-Module MSOnline
Get-Module MSOnline
gives me -> Manifest MSOnline {Add-MsolRoleMember, Remove-MsolForeignGroupFromRole, Get-MsolFederation...
However, the following command gives all the same error (ModuleNotFound
) :
Import-Module Azure
Import-Module AzureResourceManager
Import-Module AzureProfile
It's quite logical since they don't appear in my module list :
PS C:\Users\matthews> Get-Module -ListAvailable
ModuleType Name ExportedCommands
---------- ---- ----------------
Manifest AppLocker {}
Manifest BitsTransfer {}
Manifest MSOnline {}
Manifest MSOnlineExtended {}
Manifest PSDiagnostics {}
Manifest PSReadline {}
Manifest TroubleshootingPack {}
To conclude, the solution provided here doesn't work, as there is no PowerShell
directory in the Windows Azure
folder.
Am I misunderstanding something, or is this a problem caused by the installation ?
NB : I also tried to install it using the standalone installer, but in this case, I get an explicit error message :
This setup requires the Windows PowerShell 3.0 or compatible version to be installed.
I'm having troubles installing the new Powershell version for various reasons, but it may be the solution.