To enable or disable Developer Dashboard in SharePoint 2013, use the following powershell script.
$contentService = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$devDashboardSettings =$contentService.DeveloperDashboardSettings
if($devDashboardSettings.DisplayLevel -eq "On){
$devDashboardSettings.DisplayLevel ="Off"
} else{
$devDashboardSettings.DisplayLevel ="On"
}
$devDashboardSettings.Update()
Is there a way to disable Developer Dashboard for a single site collection?
ReplyDelete