Enabling SharePoint 2010 Developer Dashboard

To enable the one of most usdfull feature in SharePoint 2010 which is the Developer Dashboread using the PowerShell, write down the follwoing script.

  • $service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
  • $addsetting =$service.DeveloperDashboardSettings
  • $addsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
  • $addsetting.Update()

you can replace the ‘OnDemand’ with the following options:

  • OnDemand
  • On
  • Off

After that you can see the icon in the corner of the page

Advertisements