Redigera

Share via


Get-SPOListFileVersionBatchDeleteJobProgress

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.

Gets the progress of a trim job for a site collection.

Syntax

Get-SPOListFileVersionBatchDeleteJobProgress
   [-Site] <SpoSitePipeBind>
   [-List] <SpoListPipeBind>
   [<CommonParameters>]

Description

Gets the progress of a trim job for a document library.

Examples

EXAMPLE 1

Get-SPOListFileVersionBatchDeleteJobProgress -Site https://contoso.sharepoint.com/sites/site1 -List "Documents"

Example 1 gets the progress of a 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