external help file | Module Name | online version | applicable | title | schema | author | ms.author | ms.reviewer |
---|---|---|---|---|---|---|---|---|
Microsoft.Online.SharePoint.PowerShell.dll-Help.xml | Microsoft.Online.SharePoint.PowerShell | SharePoint Online | Get-SPOSiteDesignRunStatus | 2.0.0 | trent-green | trgreen |
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: SPOSiteDesignRunParameter Sets: (All)Aliases: Required: TruePosition: 0Default value: NoneAccept pipeline input: True (ByValue)Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.