Redigera

Share via


Get-SPOSiteVersionPolicyJobProgress

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 setting version policy for existing document libraries on the site collection.

Syntax

Get-SPOSiteVersionPolicyJobProgress
   [-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 then gets the progress of the job.

Examples

Example 1

Get-SPOSiteVersionPolicyJobProgress -Identity https://contoso.sharepoint.com/sites/site1

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