Posted in 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.


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.


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.


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.


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


I am Kapil Singh Kumawat working on SQL Server since last 5 years. I am from Jaipur, Rajasthan, India and currently working in Cognizant Technology Solutions as SQL Server Developer. I have a good experience in writing queries, performance tuning, SSIS, SSAS, Power BI, Data migration and database designing. Apart from database I have interest in travelling,watching football and listening music. My blogs are also published on

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: Logo

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

Google photo

You are commenting using your Google 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 )

Connecting to %s