Saturday, November 14, 2009

DYK in 2010 - You can delete a Team Project collection?

Deleting Team Project collections can be done through command line

Use "TFSConfig Collection" to delete a team project collection

  1. On your TFS Server open a command window (as TFS Administrator) to [TFS Install Drive]:\Program Files\Microsoft Team Foundation Server 2010\Tools

  2. Enter "TFSConfig Collection /delete /collectionName:[COLLECTION NAME]"

  3. Respond to the irreversible "Are you sure" prompt






6 comments:

123 123 said...

Nice blog as for me. I'd like to read a bit more concerning that matter. Thank you for sharing this data.
Sexy Lady
English escorts

寂寞 said...

good post..................................................

Tim said...

In PowerShell, you would need to type .\TFSConfig instead. Thanks for the instructions!

Jeff Ferguson said...

Worked like a charm. Thank you!

I just tried to create a new local TFS Basic collection from my laptop, which is a member of domain, without first being connected to the domain. The collection was half-created and was in a weird state that caused it to show up in the Collections list in the TFS Admin Tool, but couldn't start and couldn't be detatched.

Lesson learned -- VPN into the domain before creating local TFS collections!

Anonymous said...

The database TFS_[collectionname] is still there.
Why? And can I drop it?

dmal said...

nice, short and concise