Skip to content

Latest commit

 

History

History
102 lines (67 loc) · 3.11 KB

File metadata and controls

102 lines (67 loc) · 3.11 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/add-spositedesigntask
applicable SharePoint Online
title Add-SPOSiteDesignTask
schema 2.0.0
author samkabue
ms.author speedta
ms.reviewer

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

Applicable: SharePoint Online

The ID of the site design to apply.

Type: System.Guid
Parameter Sets: (All)
Aliases:

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

-WebUrl

Applicable: SharePoint Online

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

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept 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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Get-SPOSiteDesignTask

Invoke-SPOSiteDesign