Muokkaa

Jaa


Get-SPOSiteDesignRunStatus

Retrieves and displays a list of all site script actions executed for a specified site design applied to a site.

Syntax

Get-SPOSiteDesignRunStatus
   [-Run] <SPOSiteDesignRun>
   [<CommonParameters>]

Description

Retrieves and displays a list of all site script actions executed for a specified site design applied to a site.

Examples

Example 1

This example gets the run for a specific site design applied to a site and sets it to a variable. This variable is then passed into the command -run parameter. The result is a display of all the site script actions applied for that site design run, including the script action title and outcome.

$myrun = Get-SPOSiteDesignRun -WebUrl "https://contoso.sharepoint.com/sites/project-playbook" -SiteDesignId cefd782e-sean-4814-a68a-b33b116c302f

Get-SPOSiteDesignRunStatus -Run $myrun

OrdinalIndex: | 0
SiteScriptId: | sean530b-4133-444e-9e31-fb0c07f69d3a
SiteScriptTitle: | project tracker script for contoso legal
SiteScriptIndex: | 0
ActionIndex: | 0
ActionTitle: | Add principal contoso legal team to SPGroup Owners.
ActionKey: | 4f8509cd-0000-0000-0000-00000000
OutcomeCode: | Success
OutcomeText: |

OrdinalIndex: | 1
SiteScriptId: | sean530b-4133-444e-9e31-abc123abc123
SiteScriptTitle: | project tracker script for contoso legal
SiteScriptIndex: | 0
ActionIndex: | 1
ActionTitle: | Apply theme Contoso Legal.
ActionKey: | 4f8509cd-0000-0000-0000-00000000
OutcomeCode: | Success
OutcomeText: |

Parameters

-Run

The site design run for the desired set of script action details.

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

Inputs

Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignRun

Outputs

System.Object