Set-SPOMasterPage

Synopsis

Sets the Master Page for a web

Syntax

Set-SPOMasterPage -Web <Web> -Url <String> [-System] [-Both] [<CommonParameters>]

Description

Parameters

-Web <Web>

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Url <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-System <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Both <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Set the master page for current web

PS C:\> Set-SPOMasterPage -Web $ctx.Web -Url /_catalogs/masterpage/mynew.master

Related links

Last edited Aug 5, 2014 at 12:07 AM by provokesolutions, version 2

Comments

No comments yet.