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 a SharePoint Online Administrator or Global 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 |
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應