| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/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 <ContainerId>] [<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.
Use this parameter to specify the ContainerId of the deleted container to be restored.
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: Yes
Position: Named
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.