Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.11 KB

AddSPOMasterPage.md

File metadata and controls

27 lines (23 loc) · 1.11 KB

#Add-SPOMasterPage Topic automatically generated on: 2015-10-13

Adds a Masterpage ##Syntax

Add-SPOMasterPage -SourceFilePath <String> -Title <String> -Description <String> [-DestinationFolderHierarchy <String>] [-UiVersion <String>] [-DefaultCssFile <String>] [-Web <WebPipeBind>]

##Parameters

Parameter Type Required Description
DefaultCssFile String False Default CSS file for MasterPage, this Url is SiteRelative
Description String True Description for the page layout
DestinationFolderHierarchy String False Folder hierarchy where the MasterPage layouts will be deployed
SourceFilePath String True Path to the file which will be uploaded
Title String True Title for the page layout
UiVersion String False UiVersion Masterpage. Default = 15
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

PS:> Add-SPOMasterPage -SourceFilePath "page.master" -Title "MasterPage" -Description "MasterPage for Web" -DestinationFolderHierarchy "SubFolder"

Adds a MasterPage to the web