Get-AzureLocation
TOC
Collapse the table of content
Expand the table of content

Get-AzureLocation

Get-AzureLocation

Gets the available data center locations for the current Azure subscription.

Syntax


Get-AzureLocation [ <CommonParameters>]




Detailed Description

This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

The Get-AzureLocation cmdlet returns a list object with the available Azure data centers and their properties for the current Azure subscription. Before you run this cmdlet, you need to set your current subscription with Select-AzureSubscription and Set-AzureSubscription.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1

This command gets a list of available data centers, and their properties, for the current subscription.


C:\PS> Get-AzureLocation

Related topics

Select-AzureSubscription

Set-AzureSubscription

Import-AzurePublishSettingsFile

Show:
© 2016 Microsoft