Table of Contents

Remove-PnPLibraryFileVersionBatchDeleteJob

SYNOPSIS

Cancels further processing of a file version batch trim job for a document library.

SYNTAX

Remove-PnPLibraryFileVersionBatchDeleteJob -Identity <ListPipeBind> [-Force]

DESCRIPTION

Cancels further processing of a file version batch trim job for a document library.

EXAMPLES

EXAMPLE 1

Remove-PnPLibraryFileVersionBatchDeleteJob -Identity "Documents"

Cancels further processing of the file version batch trim job for the document library.

EXAMPLE 2

Remove-PnPLibraryFileVersionBatchDeleteJob -Identity "Documents" -DeleteBeforeDays 360 -Force

Cancels further processing of the file version batch trim job for the document library, without prompting the user for confirmation.

PARAMETERS

-Identity

The ID, name or Url (Lists/MyList) of the document library to stop further trimming on.

Type: ListPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Force

When provided, no confirmation prompts will be shown to the user.

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices