SharePoint Group

To discuss and share about SharePoint and .NET learning and development experiences

Enable SharePoint Developer Dashboard with PowerShell

Developer Dashboard is a new feature SharePoint 2010. It provides developers with tracking and tracing information. But it is disabled by default. If you want display it, you can enable it with PowerShell easily.

There are 3 modes:

  • Off: Disabled, this is the default value
  • On: Enables the Developer Dashboard
  • OnDemand: Enables the Developer Dashboard upon request by clicking the icon in the upper right cornerdeveloper dashboard icon

“OnDemand” mode

$devdash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdash.DisplayLevel = “OnDemand”;
$devdash.TraceEnabled = $true;

“On” mode

$devdash = Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdash.DisplayLevel = “On”;
$devdash.TraceEnabled = $true;

“Off” mode (Disabled)

$devdash = Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdash.DisplayLevel = “Off”;
$devdash.TraceEnabled = $true;


One response to “Enable SharePoint Developer Dashboard with PowerShell

  1. Pingback: Resources: SharePoint Development,Programming And PowerShell | lionadi

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: