Skip to content

Latest commit

 

History

History
109 lines (76 loc) · 2.73 KB

File metadata and controls

109 lines (76 loc) · 2.73 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-spositeversionpolicyjob
applicable SharePoint Online
title Remove-SPOSiteVersionPolicyJob
schema 2.0.0
author msjennywu
ms.author jennywu
ms.reviewer
manager seanmc

Remove-SPOSiteVersionPolicyJob

SYNOPSIS

Cancels further processing of version settings update on existing document libraries on the site collection.

SYNTAX

Remove-SPOSiteVersionPolicyJob [-Identity] <SpoSitePipeBind> [-WhatIf] [-Confirm] [<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

Applicable: SharePoint Online

Specifies the URL of the site collection.

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.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: System.Management.Automation.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

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Set-SPOSite

Get-SPOSiteVersionPolicyJobProgress