Install-SPOSiteFeature

Synopsis

Installs a Site level feature to the given site collection

Syntax

Install-SPOSiteFeature -Site <Site> -FeatureId <String> [-Internal] [<CommonParameters>]

Description

Parameters

-Site <Site>

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-FeatureId <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Internal <SwitchParameter>

Required? False
Position? named
Default value  
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

Outputs

Notes

Examples

Activate a custom Site Level feature on a site collection

PS C:\> Install-SPOSiteFeature -Site $ctx.Site -FeatureId "FEB61E46-7891-469C-B2B0-5FFC7ECCA39A"

Activate an OOTB Site level feature on a site collection

PS C:\> Install-SPOSiteFeature -Site $ctx.Site -FeatureId "FEB61E46-7891-469C-B2B0-5FFC7ECCA39A" -Internal

Related links

Last edited Aug 5, 2014 at 12:06 AM by provokesolutions, version 9

Comments

No comments yet.