Search Results for

    Show / Hide Table of Contents
    Available in the current Nightly Release only.

    Get-PnPSiteVersionPolicy

    SYNOPSIS

    Get version policy setting of the site.

    SYNTAX

    Get-PnPSiteVersionPolicy [-Connection <PnPConnection>] 
    

    DESCRIPTION

    This cmdlet allows retrieval of version policy setting on the site. When the new document libraries are created, they will be set as the version policy of the site. If the version policy is not set on the site, the setting of the tenant will be used.

    EXAMPLES

    EXAMPLE 1

    Get-PnPSiteVersionPolicy
    

    Returns the version policy setting of the site.

    PARAMETERS

    -Connection

    Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

    Type: PnPConnection
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices Microsoft Docs documentation

    Back to top Generated by DocFX spacer