New-SPOWikiPage

Creates a new wiki page within an existing List.

New-SPOWikiPage [-List [<SPOListPipeBind>]] -Web <SPOWebPipeBind> -WikiPageName <String> [-WikiPageLayout [<WikiPageLayout>]]

New-SPOWikiPage [-Folder [<SPOFolder>]] -Web <SPOWebPipeBind> -WikiPageName <String> [-WikiPageLayout [<WikiPageLayout>]]

Parameters

1

ParameterRequiredTypeDescription
ListFalseSPOListPipeBind

Specifies the List to add the file to.

The type must be a valid absolute URL, in the form http://contoso.sharepoint.com/site_name/lists/list_name, or an SPOList object, Microsoft.SharePoint.Client.List object, List title, or GUID representing the List ID.

WebTrueSPOWebPipeBind

Specifies the identity of the Site containing the List to add the file to.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.

WikiPageNameTrueString

The name of the wiki page to create.

WikiPageLayoutFalseWikiPageLayout

The page layout to set the wiki page to. The default value is "ThreeColumnsHeaderFooter".

2

ParameterRequiredTypeDescription
FolderFalseSPOFolder

Specifies the Folder to add the file to.

The type must be a valid SPOFolder object.

WebTrueSPOWebPipeBind

Specifies the identity of the Site containing the List to add the file to.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.

WikiPageNameTrueString

The name of the wiki page to create.

WikiPageLayoutFalseWikiPageLayout

The page layout to set the wiki page to. The default value is "ThreeColumnsHeaderFooter".

Detailed Description

Creates a new wiki page within an existing List.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE------------------

PS C:\> New-SPOWikiPage -Web "/" -List "Site Pages" -WikiPageName "MyWikiPage.aspx"

This example creates a new wiki page within the Site Pages list under the root Site of the root Site Collection.