I realized my mistake, with the command above you can get all changes changes between two shortcuts, while you add "~" to the / version key: for example:
tf history /server:http://tfsserver:8080/tfs "$/source/path/main" /recursive /noprompt /format:brief /version:"Llabel2~Llabel3" >> C:\temp\tfshistory.txt
This will extract and create a list of all change sets between Label 2 and Label 3. You can also do the same by replacing Label3 with "T", instead extract all change sets from Label2 to Latest (T).
source share