Set-PnPSite

Sets Site Collection properties.

Syntax

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

Examples

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

Set-PnPSite -Classification "HBI"

Sets the current site classification to HBI

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

Set-PnPSite -Classification $null

Unsets the current site classification

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

Set-PnPSite -DisableFlows

Disables Flows for this site

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

Set-PnPSite -DisableFlows:$false

Enables Flows for this site

Optional Parameters

-Classification

The classification to set

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-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:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-DisableFlows

Disables flows for this site

Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False