Wednesday, July 04, 2012

SharePoint 2010 - using stsadm to enable the developer dashboard

There are a number of ways to enable the developer dashboard in SharePoint 2010 - Via stsadm - Via Powershell - Via code I find the easiest way is via stsadm using the following command; stsadm -o setproperty -pn developer-dashboard -pv on or stsadm -o setproperty -pn developer-dashboard -pv ondemand to turn it off use stsadm -o setproperty -pn developer-dashboard -pv ondemand If you use the ondemand setting, you can turn it on and off via the user interface, you do this by clicking on the icon that you will find on the top right of the page. One thing to remember is that the developer dashboard is enabled throughout the entire Sharepoint farm, so you may not want to do this on a live server.

No comments: