Deleting a Project from Team Foundation Server

Have you wondered how to delete a project from Team Foundation Server? There is no way to do it from the Team explorer in Visual Studio. I think this is a good idea. There is however a command line utility called DeleteTeamProject.

DeleteTeamProject [/q] [/domain:] [/force]

    [/q]  - Quiet mode.  Do not prompt the user for confirmation.
    [/domain:] - The name of the domain.  Necessary in multi-domain environments.
    [/force]  - Indicates the program should continue even if some parts cannot be deleted.
    - The name of the project.  Use quotation marks if there are spaces in the name.

You of course require DELETE permission on the project.