Table of contents
TOC
Collapse the table of content
Expand the table of content

Get-PnPWikiPageContent

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Gets the contents/source of a wiki page

Syntax

Get-PnPWikiPageContent -ServerRelativePageUrl <String>
                       [-Web <WebPipeBind>]

Returns

System.String

Parameters

ParameterTypeRequiredDescription
ServerRelativePageUrlStringTrueThe server relative URL for the wiki page
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.

Examples

Example 1

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

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

© 2017 Microsoft