November 19th, 2014

PowerTip: Use PowerShell to Identify Services in Azure by Location

Doctor Scripto
Scripter

Summary: Use Azure PowerShell cmdlets to identify which services a datacenter will contain.

Hey, Scripting Guy! Question How can I use Windows PowerShell to identify which services a particular datacenter in Azure contains?

Hey, Scripting Guy! Answer Access the AvailableServices property from the Get-AzureLocation cmdlet, for example:

(Get-AzureLocation | where { $_.DisplayName -eq 'Brazil South' }).AvailableServices

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.