PowerTip: Identify Regions in Azure

Doctor Scripto

Summary: Use Windows PowerShell to get a current list of regions in Azure.

Hey, Scripting Guy! Question How can I use Windows PowerShell to show me a list of the regions in Microsoft Azure?

Hey, Scripting Guy! Answer Use the Get-AzureLocation cmdlet to output the list to your screen, then you can filter with
           the DisplayName parameter. This example lists all of the U.S. regions:

Get-AzureLocation | Where { $_.Displayname –match 'US' } | Format-Table


Discussion is closed.

Feedback usabilla icon