Restore-SPODeletedContainer
Recovers a deleted Container from the Recycle Bin.
Syntax
Default (Default)
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.
Parameter properties
Type: | Microsoft.Online.SharePoint.PowerShell.SPOContainerPipeBind |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.