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


You need to login to view comments.