Posts

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()

State Service Application

Creates a session state database and turns on the session state service. $serviceApp = New-SPStateServiceApplication -Name "<StateServiceName>" New-SPStateServiceDatabase -Name "<StateServiceDatabase>" -ServiceApplication $serviceApp New-SPStateServiceApplicationProxy -Name "ApplicationProxy" -ServiceApplication $serviceApp -DefaultProxy

Session State SharePoint 2013

This is different than enabling state service application Enable-SPSessionStateService –DatabaseName “SessionStateDatabase” –DatabaseServer “localhost” –SessionTimeout 120

enumerate SharePoint 2013 Databases using powershell

Use this command to enumerate the databses: get-spdatabase | Format-Table Name,Type -autosize | Out-File "c:\dbs.txt"

Create Host Named Site Collection in SharePoint 2013 using Powershell

$owner = "domain\user" $siteurl = " http:/x.com " $name = " Site" $w = get-spwebapplication  " http://hostweb.com " New-spsite $siteurl –owneralias $owner –hostheaderwebapplication $w –name $name –template "STS#0"

SharePoint 2013 Service Pack 1 issue

We have recently uncovered an issue with this Service Pack 1 package that may prevent customers who have Service Pack 1 from deploying future public or cumulative updates. As a precautionary measure, we have deactivated the download page until a new package is published. ” http://support.microsoft.com/kb/2817429

SharePoint 2013 Tools

There are some tools that are nice to have when dealing with SharePoint: DisposeChecker Developer dashboard .NET reflector Fiddler httpWatch LDP.exe nslookup Telnet wireshark netmon  Notepad++ SQL trace logs event viewer DisposeChecker ulsviewer