Remove-SPOListFileVersionBatchDeleteJob
Note
This feature is part of the version history controls preview. If your tenant is not part of the preview or the feature has not rolled out to your tenant, you will get an error when trying to run this cmdlet.
Cancels further processing of a trim job for a document library.
Syntax
Remove-SPOListFileVersionBatchDeleteJob
[-Site] <SpoSitePipeBind>
[-List] <SpoListPipeBind>
[<CommonParameters>]
Description
Cancels further processing of a trim job for a document library. This will stop the ongoing version deletion trim job and no further deletions will happen. Stopping a trim job will not impact versions that have already been permanently deleted when the job was in progress.
Examples
EXAMPLE 1
Remove-SPOListFileVersionBatchDeleteJob -Site https://contoso.sharepoint.com/sites/site1 -List "Documents"
Example 1 cancels further processing of the trim job for a document library called "Documents".
Parameters
-List
The document library name or Id.
Type: | SPOListPipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Site
Specifies the URL of the site.
Type: | SpoSitePipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om