Set-SPOWikiPageLayout

Sets the layout for a wiki page within an existing List.

Set-SPOWikiPageLayout [-List [<SPOListPipeBind>]] -Web <SPOWebPipeBind> -WikiPageName <String> -WikiPageLayout <WikiPageLayout>

Set-SPOWikiPageLayout [-Folder [<SPOFolder>]] -Web <SPOWebPipeBind> -WikiPageName <String> -WikiPageLayout <WikiPageLayout>

Parameters

1

ParameterRequiredTypeDescription
ListFalseSPOListPipeBind

Specifies the List containing the file to update.

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 file to update.

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 update.

WikiPageLayoutTrueWikiPageLayout

The page layout to set the wiki page to.

2

ParameterRequiredTypeDescription
FolderFalseSPOFolder

Specifies the Folder containing the file to update.

The type must be a valid SPOFolder object.

WebTrueSPOWebPipeBind

Specifies the identity of the Site containing the file to update.

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 update.

WikiPageLayoutTrueWikiPageLayout

The page layout to set the wiki page to.

Detailed Description

Sets the layout for a 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:\> Set-SPOWikiPageLayout -Web "/" -List "Site Pages" -WikiPageName "MyWikiPage.aspx" -WikiPageLayout "OneColumnSideBar"

This example sets the layout of an existing wiki page within the Site Pages list under the root Site of the root Site Collection.