次の方法で共有


Restore-SPODeletedSite

SharePoint Online で削除されたサイト コレクションをごみ箱から復元します。

構文

Default (既定)

Restore-SPODeletedSite
    -Identity <SpoSitePipeBind>
    [-NoWait]
    [<CommonParameters>]

説明

コマンドレットを実行するには、少なくとも SharePoint 管理者である必要があります。

SharePoint Online の Windows PowerShell のアクセス許可と最新の情報については、「SharePoint Online 管理シェルの概要」を参照してください。

Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite

次の使用例は、"https://contoso.sharepoint.com/sites/arecycledsite"" という名前の SharePoint Online の削除されたサイト コレクションを復元します。ごみ箱から。

パラメーター

-Identity

適用対象: SharePoint Online

復元するサイト コレクションの URL を指定します。

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

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

パラメーター セット

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

-NoWait

適用対象: SharePoint Online

即座にスクリプト実行を続行することを指定します。

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

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

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

CommonParameters

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