編集

次の方法で共有


Restore-SPODeletedContainer

Recovers a deleted Container from the Recycle Bin.

Syntax

Restore-SPODeletedContainer
       [-Identity <ContainerId>]
       [<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

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online