Public/Get-AzRegion.ps1
function Get-AzRegion { <# .SYNOPSIS Return a list of Azure Regions. .DESCRIPTION Return a list of Azure regions. .EXAMPLE PS C:\> Get-AzRegion australiaeast australiasoutheast brazilsouth canadacentral canadaeast centralindia centralus eastasia eastus eastus2 francecentral japaneast japanwest koreacentral koreasouth northcentralus northeurope southcentralus southeastasia southindia uksouth ukwest westcentralus westeurope westindia westus westus2 #> [OutputType([string[]])] [cmdletbinding()] param() $script:storageLocations | Select-Object -ExpandProperty Location | Sort-Object } |