external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Adds a site collection feature.
Add-KshSiteCollectionFeature -FeatureId <Guid> [-Force <Boolean>] [-Scope <FeatureDefinitionScope>]
[<CommonParameters>]
The Add-KshSiteCollectionFeature cmdlet adds a feature to the site collection.
PS C:\> Add-KshSiteCollectionFeature -FeatureId 'b21b090c-c796-4b0f-ac0f-7ef1659c20ae'
Adds a feature.
Specifies the feature ID.
Type: Guid
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether to force adding.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the scope.
Type: FeatureDefinitionScope
Parameter Sets: (All)
Aliases:
Accepted values: None, Farm, SiteCollection, Site
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.