Table of Contents

Get-PnPMasterPage

SYNOPSIS

Returns the URLs of the default Master Page and the custom Master Page.

SYNTAX

Get-PnPMasterPage [-Connection <PnPConnection>] 

DESCRIPTION

Allows to retrieve urls of the default Master Page and custom Master Page of the current site.

EXAMPLES

EXAMPLE 1

Get-PnPMasterPage

This will return the urls of the default Master Page and custom Master Page of the current 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