Editar

Partilhar via


Get-SPOListVersionPolicy

Gets the version policy setting on the document library.

Syntax

Get-SPOListVersionPolicy
   [-Site] <SpoSitePipeBind>
   [-List] <SpoListPipeBind>
   [<CommonParameters>]

Description

Gets the version policy setting on the document library.

Examples

EXAMPLE 1

Get-SPOListVersionPolicy -Site https://contoso.sharepoint.com/sites/site1 -List "Documents"

Example 1 gets the version policy setting on the document library called "Documents".

Parameters

-List

The document library name or Id.

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

-Site

Specifies the URL of the site.

Type:SpoSitePipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Online