Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 3.09 KB

File metadata and controls

94 lines (65 loc) · 3.09 KB
external help fileModule Nameonline versionapplicabletitleschemaauthorms.authorms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
Add-SPOSiteDesignTask
2.0.0
trent-green
trgreen

Add-SPOSiteDesignTask

SYNOPSIS

Similar to Invoke-SPOSiteDesign, this command is used to apply a published site design to a specified site collection target. It schedules the operation, allowing for the application of larger site scripts (Invoke-SPOSiteDesign is limited to 30 actions and subactions).

The supported site templates you can apply a site design to include: "modern" team site (with O365 group), "modern" team site (without an O365 group); communication site; classic team site; and classic publishing site.

SYNTAX

Add-SPOSiteDesignTask-SiteDesignId <guid>-WebUrl <string> [<CommonParameters>]

DESCRIPTION

This command is used to apply a published site design to a specified site collection target. It schedules the operation, allowing for the application of larger site scripts (Invoke-SPOSiteDesign is limited to 30 actions and subactions).

This command is intended to replace Invoke-SPOSiteDesign and is useful when you need to apply a large number of actions or multiple site scripts.

Note

This command only creates the request. To check on the job status or to view details of the scheduled run, use the commands in the related section below.

EXAMPLES

Example 1

This example applies a site design that includes two site scripts - totaling over 30 site script actions. Executing the commands will schedule the site design to be queued and run against the designated site collection.

Add-SPOSiteDesignTask-SiteDesignId 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectawesome"

PARAMETERS

-SiteDesignId

The ID of the site design to apply.

Type: SPOSiteDesignPipeBindParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-WebUrl

The URL of the site collection where the site design will be applied.

Type: StringParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-SPOSiteDesignTask

Invoke-SPOSiteDesign

close