Monthly Archives: June 2010

Doing Unit Testing with TFS2010 and SP2010

SharePoint 2010 has a wonderfull new developers experience with Visual Studio 2010 and great integration with Team Foundation Server 2010. We configured our TFS Build server to build our SP2010 solutions fairly easy. Just make sure the SP2010 dll’s you reference in your SP2010 projects are available on the TFS Build Server (in the GAC… Read More »

Small Powershell scripting tip

Want to log the output of your powershell script? use “Start-Transcript”! Top of your powershell script: ## Start logging $LogTime = Get-Date -Format yyyy-MM-dd_h-mm $LogFile = “$env:USERPROFILEDesktopDeploy-$LogTime.rtf” Start-Transcript -Path $LogFile -Force and put this at the end of your script: Stop-Transcript Invoke-Item $LogFile