cls
$webapps = Get-spWebApplication
foreach($webapp in $webapps)
{
foreach($site in $webapp.Sites)
{
foreach($webapp in $site.AllWebs)
{
Disable-SPFeature –identity "a7a2793e-67cd-4dc1-9fd0-43f61581207a"
-Confirm:$false -URL $webapp.url
}
}
}
如何找到Feature的id:
cls
Get-SPFeature –Limit ALL | Where-Object {$_.Scope –eq "Web" -and
$_.CompatibilityLevel -eq "15"}
隐瞒SharePoint 2013 team sites里的follow按钮,布布扣,bubuko.com
隐瞒SharePoint 2013 team sites里的follow按钮
原文:http://www.cnblogs.com/fengwenit/p/3616036.html