Redigera

Share via


Remove-SPOSiteVersionPolicyJob

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 version settings update on existing document libraries on the site collection.

Syntax

Remove-SPOSiteVersionPolicyJob
      [-Identity] <SpoSitePipeBind>
      [<CommonParameters>]

Description

Set-SPOSite cmdlet using ApplyToExistingDocumentLibraries will create a job to set version policy for existing document libraries on the site collection. This cmdlet removes the job, which stops updating the new version policy on existing libraries. The version policy already applied on existing libraries will not be reverted.

Examples

Example 1

Remove-SPOSiteVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1

Example 1 cancels further processing of the job that sets version policy for existing document libraries on 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