Posted By

scholli on 10/29/10


Tagged

administration sharepoint


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tyster


Change Masterpage in SP 2010 via Powershell


 / Published in: Windows PowerShell
 

  1. $web = Get-SPWeb http://sharepoint
  2.  
  3. $web.CustomMasterUrl = "/_catalogs/masterpage/v4.master"
  4.  
  5. $web.MasterUrl = "/_catalogs/masterpage/v4.master"
  6.  
  7. $web.Update()

Report this snippet  

You need to login to post a comment.