Geeks With Blogs

Disclaimer: The views expressed on this blog are my own and do not necessarily reflect the views of my employer.

Creative Commons License

Check out my profile!

INETA Community Speakers Program

Follow enriquelima on Twitter
Locations of visitors to this page

Intentional Thinking Enrique Lima

You are the administrator (or since you may be the one that knows the most about it) and you need to do some cleanup on what is connected and perhaps even cleanup after people that have left the organization and left some code checked out in their workspace.

What permissions do I need?

You will need to have Administer Workspaces permission to perform the following tasks.

The commands.

In order to execute the commands, you will need to open a Visual Studio Command Prompt, once there you will be able to use the tf command.  This has a nice set of options, which I will be providing a listing for later on in another post.

To list all workspaces registered:

tf workspaces /collection:<url to your TPC> <workspace>;<owner>

To delete a specific workspace:

tf workspace /delete /server:<url to your TPC> <workspace>;<owner>

If for any reason a workspace has embedded spaces, then surround that with “” (double quotes).

Posted on Thursday, June 3, 2010 3:52 PM TFS , Visual Studio | Back to top

Comments on this post: Managing TFS Workspaces

comments powered by Disqus

Copyright © Enrique Lima | Powered by: