external help file | Module Name | online version | applicable | title | schema | author | ms.author | ms.reviewer | manager |
---|---|---|---|---|---|---|---|---|---|
sharepointonline.xml |
Microsoft.Online.SharePoint.PowerShell |
SharePoint Online |
Get-SPOListVersionPolicy |
2.0.0 |
msjennywu |
jennywu |
seanmc |
Gets the version policy setting on the cocument library.
Get-SPOListVersionPolicy [-Site] <SpoSitePipeBind> [-List] <SpoListPipeBind> [<CommonParameters>]
Gets the version policy setting on the document library.
Get-SPOListVersionPolicy -Site https://contoso.sharepoint.com/sites/site1 -List "Documents"
Example 1 gets the version policy setting on the document library called "Documents".
Specifies the URL of the site.
Type: SpoSitePipeBind
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The document library name or Id.
Type: SPOListPipeBind
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.