TFS Top Tip #4: The Command Line Client is your friend.
If you are going to be doing more than the basic check-in / check-out options then it pays to get to know the command line client – tf. The command line client is actually the most flexible and powerful client to Team Foundation Version Control.
For more information, consult the MSDN help documentation. Teamprise users will be glad to hear that a large percentage of the commands are implemented in V1.0 of our command line client meaning that you can do these actions from a Mac or Unix box as well (install instructions are posted in the Knowledge Base). If you are running on Windows then you are probably better off sticking to Microsoft’s command line client that gets installed as part of the Team Foundation Server client installation (and accessible via a Visual Studio 2005 command shell).
For example, to show all the check-outs by everyone on a path in the repository:-
tf status /server:http://yourservernamehere:8080 /user:* /recursive $/TeamProject/
For more examples, see an excellent post from James Manning or some of my previous posts:-
Hatteras Command Line Tips (from back when tf.exe was called h.exe which saved a keypress :-), however the documentation was no where near as good as it is now ) Unlocking files in VSTS
The command line client is also excellent for scripting purposes (our automated build system relies heavily on it). I urge you to spend a few moments with a strong cup of coffee, the help documentation and just have a play around. Once you realise what commands are available then you’ll know what’s possible if you come across a situation in the future where you reach limitations in the UI.