Wednesday, May 23, 2012

Obtain a list of checked-out files for a given user in TFS

Here are a few quick steps that you can use for obtaining a list of all files that are currently checked-out for a given user in Team Foundation Server 2010:
  1. On your workstation where Visual Studio 2010 is installed, open a command prompt
  2. Type "cd c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE" and hit Enter
  3. Type "tf status /recursive /user:username" and hit Enter
If you'd like to print the output to a text file, you can adjust Step# 3 as follows:

"tf status /recursive /user:username > C:\usernamescheckedoutfiles.txt"

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.