Get-PnPFeature
SYNOPSIS
Returns all activated or a specific activated feature
SYNTAX
Get-PnPFeature [[-Identity] <FeaturePipeBind>] [-Scope <FeatureScope>]
[-Connection <PnPConnection>] [-Includes <String[]>]
DESCRIPTION
This cmdlet returns all activated features or a specific activated feature.
EXAMPLES
EXAMPLE 1
Get-PnPFeature
This will return all activated web scoped features
EXAMPLE 2
Get-PnPFeature -Scope Site
This will return all activated site scoped features
EXAMPLE 3
Get-PnPFeature -Identity fb689d0e-eb99-4f13-beb3-86692fd39f22
This will return a specific activated web scoped feature
EXAMPLE 4
Get-PnPFeature -Identity fb689d0e-eb99-4f13-beb3-86692fd39f22 -Scope Site
This will return a specific activated site scoped feature
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Identity
The feature ID or name to query for, Querying by name is not supported in version 15 of the Client Side Object Model
Type: FeaturePipeBind
Parameter Sets: (All)
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Scope
The scope of the feature. Defaults to Web.
Type: FeatureScope
Parameter Sets: (All)
Accepted values: Web, Site
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Includes
Optionally allows properties to be retrieved for the returned feature which are not included in the response by default
Type: String[]
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False