Table of Contents

Get-PnPSiteClosure

SYNOPSIS

Get the site closure status of the site which has a site policy applied

SYNTAX

Get-PnPSiteClosure [-Connection <PnPConnection>] 

DESCRIPTION

Allows to retrieve current site closure status of the site which has a site policy applied.

EXAMPLES

EXAMPLE 1

Get-PnPSiteClosure

Get the site closure status 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

Microsoft 365 Patterns and Practices