I want to create a batch file that deletes all TFS workspaces of a user. This will be used in scenarios when a person is leaving the organization.
Is there a command in TFS which allows me to delete all workspaces of a user in one go? I do not want to first get workspaces and then delete them one by one, because then it will require manual intervention.
if something like this could be possible C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>tf workspace /server:<servername> /delete *;<domain>\<username>
The command above does not work.
Thanks in advance.
I believe Team Foundation Sidekicks from Attrice can do this