Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Identify Regions in Azure

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles