Skip to content

Latest commit

 

History

History
95 lines (68 loc) · 2.79 KB

File metadata and controls

95 lines (68 loc) · 2.79 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name microsoft.online.sharepoint.powershell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/remove-spotenantapplyfileversionpolicyjob
applicable SharePoint Online
title Remove-SPOTenantApplyFileVersionPolicyJob
schema 2.0.0
author msjennywu
ms.author jennywu
ms.reviewer
manager seanmc

Remove-SPOTenantApplyFileVersionPolicyJob

SYNOPSIS

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 tenant apply file version policy job that is in-progress. SharePoint Advanced Management (SAM) license is required to run this cmdlet.

SYNTAX

Remove-SPOTenantApplyFileVersionPolicyJob [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Stops further processing of tenant apply file version policy job that is in-progress.

Caution:

  • When 'TrimVersions' is specified in the job, this will stop creating new jobs that trim versions for sites. This does not affect versions that were already permanently deleted while the job was running.
  • When 'SetVersionPolicy' is specified in the job, this will stop creating new jobs that apply the new version policy to existing document libraries for sites. The version policies that were already applied remain in place and will not be reverted.

EXAMPLES

Example 1

Remove-SPOTenantApplyFileVersionPolicyJob

Example 1 cancels further processing of the tenant apply file version policy job.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

New-SPOTenantApplyFileVersionPolicyJob

Get-SPOTenantApplyFileVersionPolicyJobProgress