Get and set Azure subscriptions

If you want to know subscriptions associated with your account, just use Get-AzureSubscription cmdlet on a PowerShell prompt. It should show details like below:

get-subscriptions-associated-with-your-account-1
Get subscriptions associated with your account

Alternatively, if you are using resource manager, you can use Get-AzureRmSubscription cmdlet:

Get subscriptions using azure resource manager model
Get subscriptions using azure resource manager model

To change subscription account for your current session, use Set-AzureSubscription cmdlet:

Set-AzureSubscription -SubscriptionName MetavrseEngineering

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s