Outline

  • Install Windows Azure PowerShell
  • Connect to your subscription
  • View account and subscription details

Windows Azure PowerShell is provided with the Windows PowerShell module as part of the Windows Azure SDK.

In order to install Windows Azure PowerShell,

Visit this link http://www.windowsazure.com/en-us/manage/downloads/

2016-04-06_21-36-28

2016-04-06_21-35-24

Launch the web installer, click Install to start Windows Azure PowerShell’s installation and configuration.

2016-04-06_21-36-04

Web Platform Installer installs all dependencies for the Windows Azure PowerShell cmdlets.

 

2016-04-06_21-39-50

2016-04-06_21-44-36

Finish the installation.

2016-04-06_21-45-07

Connect to your subscription

We can import Windows Azure PowerShell module into your Windows PowerShell session using the following command.

After download and install Azure PowerShell, next step is establish a connection with your Windows Azure subscription.

In order to set up your Windows Azure subscription in your PowerShell, you have to import the PublishSettings file that contains your Windows Azure subscription’s unique information, such as the subscription ID, name, …

This information will be used by PowerShell to reach your Windows Azure environment.

2016-04-06_21-58-09

Automatically publishSettings file will be downloaded. PublishSettings contains your Windows Azure subscription.

Next step define your subscription information into Windows PowerShell.

2016-04-06_22-04-00

PowerShell will set your subscription as a default subscription.

View account and subscription details

You can add accounts by running Add-AzureAccount command.

To see the available accounts, type:

2016-04-06_22-53-55

For subscription details, type:

2016-04-06_22-55-49

Thanks & Goodluck