Get-SPODeletedContainer
傳回資源回收筒中所有已刪除的容器。
語法
ParamSet1
Get-SPODeletedContainer
Description
Cmdlet 會 Get-SPODeletedContainer 傳回資源回收筒中所有已刪除檔案儲存容器的清單。 不需要參數 Identity 。 清單包括 ContainerId、 ContainerName和 CreatedDate。 資源回收筒中已刪除的容器將在 93 天後永久刪除。 如需詳細資訊,請參閱 Remove-SPOContainer。 您可以使用 Cmdlet Restore-SPODeletedContainer還原已刪除的容器。
您必須是 SharePoint 系統管理員才能執行此 Cmdlet。
如需有關適用於 SharePoint Online 的 Windows PowerShell 權限和最新資訊,請參閱位於 SharePoint Online Management Shell 簡介的線上文件。
範例
範例 1
Get-SPODeletedContainer
此範例會傳回 ContainerId資源回收筒中所有已刪除容器的 、 ContainerName及 CreatedDate 清單。