Open the Visual Studio 2010 Command Prompt window (found under Start > All Programs > Microsoft Visual Studio 2010 > Visual Studio Tools )
Run the TFSDeleteProject utility using the following command line. TFSDeleteProject /Collection:<Collection Name> <YourTeamProjectName>
Confirm delete by pressing Y and then press ENTER. Full syntax is as follows: Usage: TfsDeleteProject /collection:<url> <team project name> Deletes the Team Project from Team Foundation. To use this command, you must bea member of either the Team Foundation Server Administrators group or a member of the Project Administrators group for the project you are deleting. Use this command with caution because after deleting the team project it cannot be recovered. - Do not prompt for confirmation. - Continue even if some data cannot be deleted. - Exclude the project's SharePoint site when deleting the project. This option will leave site intact so that it remains for other projects that may be using it. /collection:<url> - The url for a Team Project Collection. <team project name> - The name of the project. Use quotes if there are spacesin the name.
top of page
bottom of page