Monday 22 February 2016

Installing azure scripltets

I tried the instructions at https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/ using Installing Azure PowerShell from the Gallery.
The second command Install-AzureRM failed.
“The 'Install-AzureRM' command was found in the module 'AzureRM', but the module could not be loaded.!
So I ran
Import-Module -Name AzureRM
and then Install-AzureRM and it worked.
(Actually I had to change my policy to allow scripts to run first - Set-ExecutionPolicy RemoteSigned).

Stuart:1 – MS PowerShell: 0

1 comment:

  1. After going round in circles on another machine I would advise using the web pi install (http://aka.ms/webpi-azps) - this is the non preferred option on the getting started - https://docs.microsoft.com/en-gb/powershell/azureps-cmdlets-docs/

    ReplyDelete