Have you ever need to find the last synced version of a folder in TFS? Here is a quick way:
- Change directory to YourFolder
- tf history . /r /version:W /stopafter:1 /i
Note the “.” (current directory).
This command recursively lists the history for the YourFolder but stops after the first output entry which is the latest synced version. The /version:W scopes the command to just looking at your local workspace version and not the latest on the server.
Hope this helps.