Table of Contents

Get-PnPWikiPageContent

SYNOPSIS

Gets the contents/source of a wiki page

SYNTAX

Get-PnPWikiPageContent [-ServerRelativePageUrl] <String> [-Connection <PnPConnection>]
 

DESCRIPTION

Allows to retrieve contents/source of a wiki page.

EXAMPLES

EXAMPLE 1

Get-PnPWikiPageContent -PageUrl '/sites/demo1/pages/wikipage.aspx'

Gets the content of the page '/sites/demo1/pages/wikipage.aspx'

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

-ServerRelativePageUrl

The server relative URL for the wiki page

Type: String
Parameter Sets: (All)
Aliases: PageUrl

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

Microsoft 365 Patterns and Practices