Get-PnPWikiPageContent

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Get-PnPWikiPageContent.md to change this file.

Gets the contents/source of a wiki page

Syntax

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

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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServerRelativePageUrl

The server relative URL for the wiki page

Type:String
Aliases:PageUrl
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False