< Back

Get-AzureLocation

Wed Jan 30, 2019 5:44 pm

NAME Get-AzureLocation



SYNOPSIS

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





SYNTAX

Get-AzureLocation [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureLocation cmdlet gets a list of the available Azure data centers and their properties for the current Azure subscription. Before you run

this cmdlet, you must set your current subscription by using the Select-AzureSubscription and Set-AzureSubscription cmdlets.





PARAMETERS

-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1: Get locations --------------------------



PS C:\\>Get-AzureLocation



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



RELATED LINKS