Menu

PowerShell: Update MasterPage setttings

augustus 1, 2012 - Sharepoint 2010

SPSite site = new SPSite(““http://dhraepoint);
SPWeb web = site.OpenWeb(“/subsite/site”);
web.AllProperties[“__InheritsCustomMasterUrl”] = “False”;
web.Update();

 

inclusief propertybag intherit custom masterpage vinkje