Remove-SPODeletedContainer
Permanently deletes the specified Container from the Recycle Bin. This action cannot be undone.
Syntax
Remove-SPODeletedContainer
[-Identity <ContainerId>]
[<CommonParameters>]
Description
The Remove-SPODeletedContainer
cmdlet permanently removes a deleted File Storage Container from the Recycle Bin. A permanently deleted Container cannot be recovered. You must be a SharePoint Administrator or Global Administrator to run the cmdlet.
Important
We do not generally recommend that you permanently delete Containers.
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.
Examples
Example 1
Remove-SPODeletedContainer -Identity b66f5b2e-4cbd-4754-9ad3-8291c2c81ade
This example removes a deleted Container with the ContainerId
b66f5b2e-4cbd-4754-9ad3-8291c2c81ade
from the Recycle Bin and deletes it permanently.
Parameters
-Identity
Specifies the <ContainerId>
of the Container to be permanently deleted.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應