Power-shell SharePoint 2010 Developer Dashboard


/ Published in: Windows PowerShell
Save to your folder(s)

activate the developer dashboard


Copy this code and paste it in your HTML
  1. $service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
  2. $addsetting =$service.DeveloperDashboardSettings
  3. $addsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
  4. $addsetting.Update()

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.