Geeks With Blogs

News

Locations of visitors to this page

View ► Sanjay Uttam [sanjay.uttam@gmail.com]'s profile on LinkedIn


Add to Google Reader or Homepage




Sanjay Uttam Predominantly .NET

Eventually you're going to need to search their source-control for latest changes given some parameters.  I recently came across a couple of handy ways to do this, using TFS Powertools (and Powershell). 

First, ensure you have the latest version of TFS Powertools installed. 

Also ensure you have included Powershell CmdLets when you install (or make sure this option was enabled if you've already got TFS Powertools installed)

To search TFS via the command line, fire up the Powershell window and execute the following command:

PS C:\SanjayU\> Get-TfsitemHistory "$/SomeProject/SomeBranch/1.0/" -Version "D1/1/10~D1/15/10" -Re
curse -server http://YourTfsServer:8080

This would get all changes from January 1st, 2010 to January 15th, 2010 in the SomeProject/SomeBranch/1.0 directory on our TFS server. 

Alternatively, you can execute the following command which will provide you a GUI to conduct similar searches..

PS C:\SanjayU\> tfpt searchcs

Definitely handy. 

___

Sources & further reading

http://blog.hackedbrain.com/archive/2009/04/01/6166.aspx

http://msdn.microsoft.com/en-us/library/z51z7zy0.aspx

http://msdn.microsoft.com/en-us/library/bb385992.aspx

Installation of TFS PowerTools:

http://dotnet.org.za/willy/archive/2008/11/09/visual-studio-team-system-2008-team-foundation-server-power-tools-october-2008-release.aspx

Technorati Tags:
Posted on Tuesday, January 19, 2010 6:14 PM Misc | Back to top

Copyright © Sanjay Uttam | Powered by: GeeksWithBlogs.net