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 or Global 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.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for