| 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 |
Recovers a deleted Container from the Recycle Bin.
Restore-SPODeletedContainer [-Identity] <SPOContainerPipeBind> [<CommonParameters>]
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.
Restore-SPODeletedContainer -Identity b66f5b2e-4cbd-4754-9ad3-8291c2c81adeExample 1 restores the Container with ContainerId b66f5b2e-4cbd-4754-9ad3-8291c2c81ade from the Recycle Bin.
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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.