Turn Developer Dashboard ON or OFF


/ Published in: DOS Batch
Save to your folder(s)



Copy this code and paste it in your HTML
  1. REM --- TURN SHAREPOINT 2010 DEVELOPER DASHBOARD ON ---
  2. ECHO ON
  3. SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin\stsadm"
  4. %STSADM% -o setproperty -pn developer-dashboard -pv on
  5.  
  6. REM --- TURN SHAREPOINT 2010 DEVELOPER DASHBOARD OFF ---
  7. ECHO ON
  8. SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin\stsadm"
  9. %STSADM% -o setproperty -pn developer-dashboard -pv off
  10.  
  11. REM --- TURN SHAREPOINT 2010 DEVELOPER DASHBOARD TO ON DEMAND ---
  12. ECHO ON
  13. SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin\stsadm"
  14. %STSADM% -o setproperty -pn developer-dashboard -pv ondemand

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.