Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 1.58 KB

Set-PnPSite.md

File metadata and controls

89 lines (65 loc) · 1.58 KB
external help file applicable schema
SharePoint Online
2.0.0

Set-PnPSite

SYNOPSIS

Sets Site Collection properties.

SYNTAX

Set-PnPSite [-Classification <String>]
            [-DisableFlows [<SwitchParameter>]]
            [-Connection <SPOnlineConnection>]

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Set-PnPSite -Classification "HBI"

Sets the current site classification to HBI

------------------EXAMPLE 2------------------

PS:> Set-PnPSite -Classification $null

Unsets the current site classification

------------------EXAMPLE 3------------------

PS:> Set-PnPSite -DisableFlows

Disables Flows for this site

------------------EXAMPLE 4------------------

PS:> Set-PnPSite -DisableFlows:$false

Enables Flows for this site

PARAMETERS

-Classification

The classification to set

Type: String
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-DisableFlows

Disables flows for this site

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices