< Back

Get-AzureRmLocation

Tue Jan 29, 2019 10:05 pm

NAME Get-AzureRmLocation



SYNOPSIS

Gets all locations and the supported resource providers for each location.





SYNTAX

Get-AzureRmLocation [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Pre] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmLocation cmdlet gets all locations and the supported resource providers for each location.





PARAMETERS

-ApiVersion <String>

Specifies the API version that is supported by the resource Provider. You can specify a different version than the default version.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Pre [<SwitchParameter>]

Indicates that this cmdlet considers pre-release API versions when it automatically determines which version to use.



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

System.Collections.Generic.List`1[Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceProviderLocation]







NOTES









Example 1: Get all locations and the supported resource providers



PS C:\\>Get-AzureRmLocation



This command gets all locations and the supported resource providers for each location.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... rmlocation