Reputation: 203
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.
Upvotes: 2
Views: 8962
Reputation: 139
The current version of Sidekicks (5.0) allows you to delete multiple workspaces. I just purged 4218 workspaces.
Upvotes: 2