Remove-SPOSiteFileVersionBatchDeleteJob
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.
Stops further processing of site level trim job that is in-progress.
Syntax
Remove-SPOSiteFileVersionBatchDeleteJob
[-Identity] <SpoSitePipeBind>
[<CommonParameters>]
Description
Stops further processing of site level trim job that is in-progress.
Once the cmdlet executes successfully, all new asynchronous version deletion will be stopped. Stopping a trim job will not impact versions that have already been permanently deleted when the job was in progress.
Examples
EXAMPLE 1
Remove-SPOSiteFileVersionBatchDeleteJob -Identity https://contoso.sharepoint.com/sites/site1
Example 1 cancels further processing of the trim job for the site collection.
Parameters
-Identity
Specifies the URL of the site collection.
Type: | SpoSitePipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |