Module Name | schema | applicable | online version | external help file | title |
---|---|---|---|---|---|
PnP.PowerShell |
2.0.0 |
SharePoint Online |
PnP.PowerShell.dll-Help.xml |
Add-PnPWikiPage |
Adds a wiki page
Add-PnPWikiPage -ServerRelativePageUrl <String> -Content <String>
[-Connection <PnPConnection>]
Add-PnPWikiPage -ServerRelativePageUrl <String> -Layout <WikiPageLayout>
[-Connection <PnPConnection>]
Allows to add a wiki page.
Add-PnPWikiPage -PageUrl '/sites/demo1/pages/wikipage.aspx' -Content 'New WikiPage'
Creates a new wiki page '/sites/demo1/pages/wikipage.aspx' and sets the content to 'New WikiPage'
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
Type: String
Parameter Sets: WithContent
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: WikiPageLayout
Parameter Sets: WithLayout
Accepted values: OneColumn, OneColumnSideBar, TwoColumns, TwoColumnsHeader, TwoColumnsHeaderFooter, ThreeColumns, ThreeColumnsHeader, ThreeColumnsHeaderFooter, Custom
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The server relative page URL
Type: String
Parameter Sets: (All)
Aliases: PageUrl
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False