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-----------------------------

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

This example returns a scheduled site design whose ID is 501z8c32-4147-44d4-8607-26c2f67cae82 and which was applied on the site https://contoso.sharepoint.com/sites/projectawesome.

Parameters

-Identity

The ID of the scheduled site design to apply.

Type:SPOSiteDesignPipeBind
Position:Named
Default value:None
Required:True
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
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online