共用方式為


Restore-SPODeletedContainer

從回收站復原已刪除的容器。

語法

Default (預設值)

Restore-SPODeletedContainer
    [-Identity] <SPOContainerPipeBind>
    [<CommonParameters>]

Description

Restore-SPODeletedContainer Cmdlet 會從回收站復原先前刪除的檔案記憶體容器。 Cmdlet 會擷取還原的 Get-SPOContainer 容器。 您至少必須是 SharePoint Online 系統管理員,才能執行此 Cmdlet。

範例

範例 1

Restore-SPODeletedContainer -Identity b66f5b2e-4cbd-4754-9ad3-8291c2c81ade

範例 1 會使用 從回收站還原容器 ContainerIdb66f5b2e-4cbd-4754-9ad3-8291c2c81ade

參數

-Identity

適用:SharePoint Online

使用此參數來指定 ContainerId 要還原之已刪除容器的 。

參數屬性

類型:Microsoft.Online.SharePoint.PowerShell.SPOContainerPipeBind
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:0
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters

輸入

None

輸出

System.Object