Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.06 KB

File metadata and controls

76 lines (50 loc) · 2.06 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/restore-spodeletedcontainer
applicable SharePoint Online
title Restore-SPODeletedContainer
schema 2.0.0
author cindylay
ms.author cindylay
ms.reviewer

Restore-SPODeletedContainer

SYNOPSIS

Recovers a deleted Container from the Recycle Bin.

SYNTAX

Restore-SPODeletedContainer [-Identity] <SPOContainerPipeBind> [<CommonParameters>]

DESCRIPTION

The Restore-SPODeletedContainer cmdlet recovers a previously deleted File Storage Container from the Recycle Bin. Restored Containers will be retrieved by the Get-SPOContainer cmdlet. You must be at least a SharePoint Online Administrator to run this cmdlet.

EXAMPLES

Example 1

Restore-SPODeletedContainer -Identity b66f5b2e-4cbd-4754-9ad3-8291c2c81ade

Example 1 restores the Container with ContainerId b66f5b2e-4cbd-4754-9ad3-8291c2c81ade from the Recycle Bin.

PARAMETERS

-Identity

Applicable: SharePoint Online

Use this parameter to specify the ContainerId of the deleted container to be restored.

Type: Microsoft.Online.SharePoint.PowerShell.SPOContainerPipeBind
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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