Setup Azure PowerShell on a device

This is for my own reference, Wish Microsoft have created a document for this.. (sigh!)

 

  1. Install the AzureRM module "Install-Module AzureRM"
  2. Set execution policy to remote signed or unrestricted, what is acceptable. End goal is you should be able to run scripts. Set-ExecutionPolicy  Unrestricted
  3. Import the Module: Import-Module AzureRM
  4. Login to your account, Login-AzureRmAccount will give a popup for the Azure account, Login you are good to go.

 

Cheers,

Mayank