Skip to content

Latest commit

 

History

History
94 lines (63 loc) · 2.04 KB

File metadata and controls

94 lines (63 loc) · 2.04 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/get-spolistversionpolicy
applicable SharePoint Online
title Get-SPOListVersionPolicy
schema 2.0.0
author msjennywu
ms.author jennywu
ms.reviewer
manager seanmc

Get-SPOListVersionPolicy

SYNOPSIS

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: Microsoft.Online.SharePoint.PowerShell.SPOListPipeBind
Parameter Sets: (All)
Aliases:

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

-Site

Applicable: SharePoint Online

Specifies the URL of the site.

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

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

Microsoft.Online.SharePoint.PowerShell.SPOListPipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Set-SPOListVersionPolicy