Thursday, June 23, 2011

Enable Developer Dashboard using Powershell

$spDevDash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$spDevDash .DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand;
$spDevDash .RequiredPermissions = ‘EmptyMask’;
$spDevDash .TraceEnabled = $true;
$spDevDash .Update();


http://www.sharepointinnovations.com

No comments:

Post a Comment