次の方法で共有


Get-SPOSiteDesignRunStatus

サイトに適用された指定のサイト デザインに対して実行されたすべてのサイト スクリプト アクションのリストを取得して表示します。

構文

Default (既定)

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

説明

サイトに適用された指定のサイト デザインに対して実行されたすべてのサイト スクリプト アクションのリストを取得して表示します。

例 1

次の使用例は、サイトに適用された特定のサイト デザインの実行を取得し、変数に設定します。 この変数は、コマンド -run パラメーターに渡されます。 結果は、そのサイト デザインの実行に適用されたすべてのサイト スクリプト アクション (スクリプト アクションのタイトルと結果を含む) の表示です。

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

パラメーター

-Run

目的のスクリプト アクションの詳細セットに対するサイト デザインの実行。

パラメーターのプロパティ

型:Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignRun
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:0
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、「about_CommonParameters」を参照してください。

入力

Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignRun

出力

System.Object