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:
1 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 from “/noprompt”.
This post was migrated from https://blogs.msdn.microsoft.com/rob/2013/08/28/get-a-list-of-all-users-who-have-checked-files-into-a-tfs-project/.