/ Published in: Windows PowerShell
activate the developer dashboard
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $addsetting =$service.DeveloperDashboardSettings $addsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand $addsetting.Update()