Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 2.15 KB

File metadata and controls

61 lines (37 loc) · 2.15 KB
external help file Module Name online version applicable title schema author ms.author ms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
Get-SPODeletedContainer
2.0.0
cindylay
cindylay

Get-SPODeletedContainer

SYNOPSIS

Returns all deleted Containers in the Recycle Bin.

SYNTAX

ParamSet1

Get-SPODeletedContainer [<CommonParameters>]

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.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPOContainer

Remove-SPOContainer