August 2013 archive

Get a list of all users who have checked files into a TFS Project

Have you ever wanted to get a list of all the users who have ever checked files into a TFS instance?  Here’s how to do so from PowerShell: tf history * /format:detailed /recursive /noprompt | Select-String “User:” | Sort-Object | Get-Unique Note that if you want this to appear in a GUI window, drop everything starting …

Continue reading

Redirecting TFS Command Output to Files

Today I discovered that you can redirect the output of Team Foundation Service’s tf.exe command to a file.  I thought that because it displayed dialog boxes as the results of commands that you couldn’t redirect its output to files.  However, commands such as tf history will do just that when you specify redirection, such as: …

Continue reading