Thursday 13 December 2012

Powershell Script to Display Developer Dashboard

Below is the Powershell command to enable the Developer Dashboard for the SharePoint 2010 sites

$sp2010= [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
$addsetting.Update()

No comments:

Post a Comment