Friday, 8 November 2013

Enable and Disable SharePoint Developer Dashboard with PowerShell

Share it Please
Enable:-

$devdash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdash.DisplayLevel = “OnDemand”;
$devdash.TraceEnabled = $false;
$devdash.Update()
Disable :-
 
$devdash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdash.DisplayLevel = “Off”;
$devdash.TraceEnabled = $true;
$devdash.Update()
 

No comments:

Post a Comment

Followers

Follow The Author