I have a folder with name "OutputBinaries" inside my project collection. I have local workspaces mapped to this folder on multiple machines. I want to automatically update all these local workspaces whenever there are any modification to "OutputBinaries" folder.
I know tf get command can help if it is specific to a particular machine or a particular workspace. But how this can be accomplished with workspaces on different machines
We are on the latest TFS version
Firstly, as Daniel mentioned above:
For you specific question, we can only run the
tf getcommand in particular workspace on the specific machine.To update all local workspaces you can try to create a batch script with
tf getcommand. Then run it periodically on each machine. You can set that with Windows Task Scheduler, see How to schedule a Batch File to run automatically in Windows for details.Also this thread for your reference : Run a task every x-minutes with Windows Task Scheduler