Geeks With Blogs

Scott Van Vliet Once a Developer, Always a Developer

Taking a break from my India-related postings…

I must say, my experience over the past month working with Team Foundation Server has left an awful taste in my mouth.  From licensing to migration issues, it’s very evident that TFS is a version 1.0 product.  

In lieu of such issues, we recently had to put together a stop-gap solution to provide access to our TFS environment whilst trying to migrate to new hardware.  As part of this solution, we had to remap Workspaces on each client machine (which were a pain-in-the-ass to find in the first place.)  This may not seem like a big deal, but trying to communicate such an activity to 25 non-technical folks who are also using TFS (i.e. Business Analysts, UI Designers, PMO types) can prove to be quite challenging.

Fortunately, the Team Foundation Source Control command-line client came through to the rescue.  Using the following command, you can wipe out Workspace cache:

tf.exe workspaces /remove:*

Package this up in a nice little batch script and viola!  Note that this command deletes ALL cached workspaces for the user, so be careful (this is the behavior we were after.)

Sorry for the rant, but I had to vent somewhere!

Posted on Monday, September 11, 2006 9:42 AM Team System | Back to top


Comments on this post: Deleting TFS Workspace Cache

# re: Deleting TFS Workspace Cache
Requesting Gravatar...
Where can i find Team Foundation Source Control command-line client ? I executed the command using VS command prompt but I still think the cache exist.
Left by Dhawal on Jan 19, 2011 10:39 AM

# re: Deleting TFS Workspace Cache
Requesting Gravatar...
Thanks, it works
Left by tfs on Mar 31, 2011 3:29 PM

# re: Deleting TFS Workspace Cache
Requesting Gravatar...
I really appreciate the information you have put in here. This is a timely ideas for me. - All State Van Lines Relocation
Left by Sandy1 on Dec 04, 2014 10:47 PM

Your comment:
 (will show your gravatar)


Copyright © svanvliet | Powered by: GeeksWithBlogs.net