Modifier

Partager via


Get-AzProviderFeature

Gets information about Azure provider features.

Syntax

Get-AzProviderFeature
   [-ProviderNamespace <String>]
   [-ListAvailable]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FeatureName

Specifies the name of the feature to get.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ListAvailable

Indicates that this cmdlet gets all features.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProviderNamespace

Specifies the namespace for which this cmdlet gets provider features.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

PSProviderFeature