To download Azure PowerShell, open URL azure.microsoft.com à download à PowerShell.

Pre-Requisites for Cross platform and other services are: Visual Studio 2015 & VS 15 Preview Azure.

Three modules get installed part of Azure PowerShell installation

  1. Azure (Azure service management)
  2. AzureResourceManager
  3. AzureProfile

Two modes to connect to Azure via PowerShell

  1. Azure Service Management
  2. Azure Resource Manager

Switch-AzureMode -Name AzureResourceManager

Using Certificate Login Method

Using Azure Account Login Method

  1. Add- AzureAccount (promt to login with email id and pwd)
  2. Get- AzureSubscription
  3. Get- AzureVM
  4. Remove- AzureAccount -Name <DefaultAccount (email account) >

To Get all Azure PowerShell Commands

Get-Command -Module Azure | Get-Help | Format-Table Name, Synopsis -Wrap | Out-File C:\temp\azurehelp.txt