1. Download and Install Azure Powershell from Web Platform Installer.
To ownload Azure Subscription information. The information is contained in a .publishsettingsfile. Open Azure Powershell and type following command
Get-AzurePublishSettingsFile |
To Import the publish settings file (change to your publishsetting file that you have downloaded. the file name is different from mine)
import-azurepublishsettingsfile 'C:\temp\MSDN Platforms-Converted Windows Azure MSDN - Visual Studio Premium-Windows Azure MSDN - Visual Studio Professional-9-6-2014-credentials.publishsettings' |
To see Azure Subscription
Get-AzureSubscription |
You may have multiple Azure Subscription. Before we start to use, select the correct Azure Subscription. To identify, look for “IsDefault” = True
To Select Other Azure Subscription, type the following command
select-AzureSubscription -SubscriptionName "MSDN Platforms" -Default |
To verify, type get-AzureSubscription and make sure the correct subscription has listed as IsDefault=True”. Test by Get-AzureVM
Lastly, before start using make sure that you have updated the help file. It come handy when we would like to search for help on the syntax for Powershell cmdlet.
Update-Help |