Development · Microsoft Azure · Windows Powershell

Microsoft Azure – How to get details about azure locations using PowerShell

Hello friends, when we create any virtual machine using management portal we need to select the location for cloud service and azure portal shows us list of available locations.

3

We just select the location we want and move further to next steps.

We can also do this same using PowerShell and we need to check the locations available to us using azure cmdlet.

Get-AzureLocation        

It will return a lot of information about Azure location like –

What Virtual Machine different sizes are available for a particular location?

What type of storage account types are available?

So we will have detailed information for every location because not all locations/regions have all the features available and its helps to find out which location is best for our purpose based on the available features.

1

To display the names of available location we need to write cmdlet –

(Get – AzureLocation).DisplayName

It will display all the available location to your subscription and you can select the location of your choice based on the features available.

2

So friends, this is how we get detail information about the locations available in Azure.

Advertisements

One thought on “Microsoft Azure – How to get details about azure locations using PowerShell

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