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.