Developer Dashboard SharePoint 2010
Developer Dashboard used to track issues/performance and calls which is an effective tool for developers to check their code
to enable it using powershell
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On
$sp2010.RequiredPermissions = 'EmptyMask'
$sp2010.TraceEnabled = $true
$sp2010.Update()
To Disable it:
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off
$sp2010.Update()
to enable it using powershell
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On
$sp2010.RequiredPermissions = 'EmptyMask'
$sp2010.TraceEnabled = $true
$sp2010.Update()
To Disable it:
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off
$sp2010.Update()
Comments
Post a Comment