Monday, January 16, 2012

Powershell script activate developer dashboard on demand in your Sharepoint 2010 environment

$dd = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$dd.DisplayLevel = ‘On Demand’;
$dd.TraceEnabled = $true;
$dd.Update ();

No comments:

Post a Comment