SharePoint PowerShell Script Set Custom MasterPage Url
时间:2011-01-17 来源:张大明
$site = get-spsite(http://server);
$web = $site.RootWeb;
$web.Files[0].delete();
$web.CustomerMasterUrl = "/_catalogs/masterpage/custom.master";
$web.update();
相关阅读 更多 +