Enable-PnPCommSite

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Enable-PnPCommSite.md to change this file.

Enables the modern communication site experience on a classic team site.

Syntax

Enable-PnPCommSite
      [[-DesignPackageId] <String>]
      [-Connection <PnPConnection>]
      [<CommonParameters>]

Description

This command will enable the modern site experience on a classic team site. The site must be the root site of the site collection.

Examples

EXAMPLE 1

Enable-PnPCommSite

Enables the modern communication site experience on a classic team site

EXAMPLE 2

Enable-PnPCommSite -DesignPackageId 6142d2a0-63a5-4ba0-aede-d9fefca2c767

Enables the modern communication site experience on a classic team site, allowing to specify the design package to be applied

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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DesignPackageId

The id (guid) of the design package to apply: 96c933ac-3698-44c7-9f4a-5fd17d71af9e (Topic = default), 6142d2a0-63a5-4ba0-aede-d9fefca2c767 (Showcase) or f6cc5403-0d63-442e-96c0-285923709ffc (Blank)

Type:String
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False