SharePoint 2013 Turn ON and Turn of Developer Dashboard

SharePoint 2013 Turn ON and Turn of Developer Dashboard

Open SharePoint 2013 Management Shell (Powershell)

Turn ON Developer Dashboard:

$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)

$appsetting =$content.DeveloperDashboardSettings

$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On

$appsetting.Update()

Turn OFF Developer Dashboard:

$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)

$appsetting =$content.DeveloperDashboardSettings

$appsetting.DisplayLevel =

[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off

$appsetting.Update()

Advertisement

SharePoint Adding and Deploying Solution with PowerShell

Install Solution

From Command Prompt

stsadm –o addsolution –name SharePointProject2.wsp

From SharePoint PowerShell

Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp

Deploy Solution

From Command Prompt

stsadm –o deploysolution –name SharePointProject2.wsp –url http://moss-server –allowCasPolicies –immediate

From SharePoint PowerShell

            Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp