Changing SharePoint Custom Master Pages

From Secrets of SharePoint – Tip of the Day

You can use Windows PowerShell to change a Web’s custom master page. Simply point the CustomMasterUrl to a new master page:

PS > $spWeb = Get-SPWeb http://SP01.powershell.nu

PS > $spWeb.CustomMasterUrl = “/_catalogs/masterpage/myNew.master”

PS > $spWeb.Update()

PS > $spWeb.Dispose()

This entry was posted in Branding, SharePoint and tagged , by Rick Backus. Bookmark the permalink.

About Rick Backus

A technology consultant with over 25 years of IT, consulting and business technology industry experience. Specializing in integrating application, information and content management with business process and network infrastructure. Helping clients get the most out of technology to enable increased productivity, profitability, customer satisfaction and competitive advantage.

Leave a Reply