Deleting another user’s Workspaces
To remove such an orphaned workspace perform the following steps:
1) Open a Visual Studio command prompt, so that “tf” command can be executed. The full documentation for tf can found for Visual Studio 2015 under Use Team Foundation version control commands.
2) Invoke “tf workspaces” for all workspace owners (hence command-line option /computer:*) and all computers (hence command-line option /owner:*):
tf workspaces /computer:* /owner:* /collection:https://yoursourcecontrol.visualstudio.com/DefaultCollection
The output for this command will be as follows
Workspace Owner Computer Comment
————- ——————– ————- ——-
Contractor-PC Asish Punnose Contractor-PC
Desktop101 Asish Punnose Narkiewicz Desktop101
LaptopUltra Patrick Berry Narkiewicz LaptopUltra
The output generated by “tf workspaces” shows a workspace for Patrick Berry, the developer who was no longer with the firm.