Turn on/off/ondemand Developer Dashboard of SharePoint 2010 using Powershell

Honestly, I personally prefer using Powershell than the old traditional Command Prompts. (no offense to those CMD lovers =X ). It will come to this day where you are asked or required to trace the performance of your SharePoint site. Fortunately, SharePoint 2010 comes with OOTB Developer Dashboard which allows you to track the response times of each of your module within a page.

It is not turned on by default, and here is the tricks to turn it on.

Simply execute the following Powershell Script.

$dds = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$dds.DisplayLevel = "On";
#"Off" to turn it off, or "OnDemand" to turn it on demand mode.
$dds.Update()

If you turn it on as “OnDemand” mode, you shall see an icon  Sharepoint 2010 Developer Dashboardon the top right hand corner of your SharePoint page if you didn’t modify your master page. [To be specific, the Sharepoint:DeveloperDashboardLauncher web control]

2 thoughts on “Turn on/off/ondemand Developer Dashboard of SharePoint 2010 using Powershell

  1. Evelyn Jeanne Shaw

    Very awesome blog !! I couldnt have wrote this any better than you if I tried super hard hehe!! I like your style too!! it’s very unique & refreshing…

    Reply
  2. Zara Tretyakova

    What a very informative site, I have found alot of very useful information here and still have a lot more to read. Thank you very much for the time and effort you have put in….

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

AlphaOmega Captcha Classica  –  Enter Security Code