Edit

Share via


Get-AzProviderFeature

Gets information about Azure provider features.

Syntax

ListAvailableParameterSet (Default)

Get-AzProviderFeature
    [-ProviderNamespace <String>]
    [-ListAvailable]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetFeature

Get-AzProviderFeature
    -ProviderNamespace <String>
    -FeatureName <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Get-AzProviderFeature cmdlet gets the feature name, provider name, and registration status for Azure provider features.

Examples

Example 1: Get all available features

Get-AzProviderFeature -ListAvailable

This command gets all available features.

Example 2: Get information about a specific feature

Get-AzProviderFeature -FeatureName "AllowPreReleaseRegions" -ProviderNamespace "Microsoft.Compute"

This command gets information for the feature named AllowPreReleaseRegions for the specified provider.

Parameters

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FeatureName

Specifies the name of the feature to get.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetFeature
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ListAvailable

Indicates that this cmdlet gets all features.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ListAvailableParameterSet
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProviderNamespace

Specifies the namespace for which this cmdlet gets provider features.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ListAvailableParameterSet
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Inputs

String

Outputs

PSProviderFeature