No Image

Turning SharePoint 2010 Dev Dashboard on or off via PowerShell

October 14, 2011 Andrei Rachita 0

Run these cmdlets in the SharePoint 2010 administrative shell: $service=[Microsoft.SharePoint.Administration.SPWebService]::ContentService $dashboard=$service.DeveloperDashboardSettings Turn on Dashboard $dashboard.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On $dashboard.Update() Turn off Dashboard $dashboard.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off $dashboard.Update() On Demand $dashboard.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand $dashboard.Update()