| 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/get-spositedesignrunstatus |
| applicable | SharePoint Online |
| title | Get-SPOSiteDesignRunStatus |
| schema | 2.0.0 |
| author | samkabue |
| ms.author | speedta |
| ms.reviewer |
Retrieves and displays a list of all site script actions executed for a specified site design applied to a site.
Get-SPOSiteDesignRunStatus [-Run] <SPOSiteDesignRun> [<CommonParameters>]
Retrieves and displays a list of all site script actions executed for a specified site design applied to a site.
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: |The site design run for the desired set of script action details.
Type: Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignRun
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.