Set-PnPSiteDesign

Updates a Site Design on the current tenant.

Syntax

Set-PnPSiteDesign
   -Identity <TenantSiteDesignPipeBind>
                    [-Title <String>]
                    [-SiteScriptIds <GuidPipeBind[]>]
                    [-Description <String>]
                    [-IsDefault [<SwitchParameter>]]
                    [-PreviewImageAltText <String>]
                    [-PreviewImageUrl <String>]
                    [-WebTemplate <SiteWebTemplate>]
                    [-Version <Int>]
                    [-Connection <SPOnlineConnection>]

Examples

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

Set-PnPSiteDesign -Identity 046e2e76-67ba-46ca-a5f6-8eb418a7821e -Title "My Updated Company Design"

Updates an existing Site Design and sets a new title.

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

$design = Get-PnPSiteDesign -Identity 046e2e76-67ba-46ca-a5f6-8eb418a7821e
Set-PnPSiteDesign -Identity $design -Title "My Updated Company Design"

Updates an existing Site Design and sets a new title.

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

The description of the site design

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The guid or an object representing the site design

Type:TenantSiteDesignPipeBind
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-IsDefault

Specifies if the site design is a default site design

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

Sets the text for the preview image

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-PreviewImageUrl

Sets the url to the preview image

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-SiteScriptIds

An array of guids of site scripts

Type:GuidPipeBind[]
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Title

The title of the site design

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Version

Specifies the version of the design

Type:Int
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-WebTemplate

Specifies the type of site to which this design applies

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