Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 2.19 KB

File metadata and controls

68 lines (41 loc) · 2.19 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spodeletedcontainer
applicable SharePoint Online
title Get-SPODeletedContainer
schema 2.0.0
author cindylay
ms.author cindylay
ms.reviewer

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 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.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPOContainer

Remove-SPOContainer