Muokkaa

Jaa


Get-SPODeletedContainer

Returns all deleted Containers in the Recycle Bin.

Syntax

Get-SPODeletedContainer []

Description

The Get-SPODeletedContainer cmdlet returns a list of all deleted File Storage Containers in the Recycle Bin. There is no Identity parameter needed. The list includes the ContainerId, ContainerName, and CreatedDate. Deleted Containers in the Recycle Bin are permanently deleted after 93 days. More details in Remove-SPOContainer. You can restore a deleted Container with the cmdlet Restore-SPODeletedContainer.

You must be a SharePoint Administrator to run this cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

Example 1

Get-SPODeletedContainer

This example returns a list of the ContainerId, ContainerName, and CreatedDate of all deleted Containers in the Recycle Bin.