Category Archives: PowerShell

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:

and put this at the end of your script:

Powershell and SP2010 (2) – Installing a solution

After reading this blogpost: WaitForWSPJob tool by MIchel Barneveld i had an idea, in SP2010 we can use Powershell to do the waiting because we can access the OM directly.

The script will wait for any execution jobs: Download the powershell script solution.ps1 Update (newer version) : Download the powershell script solution.ps1 Some more powershell