How to connect to Microsoft Azure Subscription via Microsoft Azure PowerShell ?
1.Open Windows Azure PowerShell.
2. In Microsoft Azure PowerShell command window, type the command:
“Add–AzureAccount” and press Enter.
3. Microsoft Azure PowerShell will open a window that you need to fill your Microsoft Azure account credentials. Fill in the credentials and press “Login”.
4. At this stage, you are already connected to the account with the subscription and you can start working.
5. In case your account has more than one subscription, you can type the command “Get-AzureSubscription” and get a list with all of the subscriptions connected to the above account.