Get-SPOSiteDesignTask

Cmdlet to get a scheduled site design script.

Syntax

Get-SPOSiteDesignTask
    -Identity <guid>
    -WebUrl <string> 
   [<CommonParameters>]

Description

Used to retrieve a scheduled site design script. It takes the ID of the scheduled site design and the URL fo the SPWeb where the site design is scheduled to be applied.

Note

This command only retrieves a previously scheduled request.

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.

Get-SPOSiteDesignTask -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectawesomeā€¯

Parameters

-Identity

The ID of the scheduled site design to apply.

Type:SPOSiteDesignPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-WebUrl

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online