Restore-SPODeletedContainer
Recovers a deleted Container from the Recycle Bin.
語法
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.
範例
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.
參數
-Identity
Applicable: SharePoint Online
Use this parameter to specify the ContainerId
of the deleted container to be restored.
參數屬性
類型: | Microsoft.Online.SharePoint.PowerShell.SPOContainerPipeBind |
預設值: | None |
支援萬用字元: | False |
不要顯示: | False |
參數集
(All)
Position: | 0 |
必要: | True |
來自管線的值: | False |
來自管線按屬性名稱的值: | False |
來自剩餘引數的值: | 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.