Today I will post something pretty easy to use, but for SharePoint Administrators is synonim of performance problems in our farms: The Developer Dashboard
To Enable the developer dashboard, we have to open a SharePoint Powershell Shell and type the following:
$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$appsetting =$content.DeveloperDashboardSettings
$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On
$appsetting.Update()
We have to be aware that this module only will be visibe to people who are site collection administrator
Of course, if we want to disable the developer dashboard,type the following:
$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$appsetting =$content.DeveloperDashboardSettings
$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off
$appsetting.Update()
Hope it helps!