Delete/Remove Project from TFS 2010

D:\Program Files\Microsoft Visual Studio 10.0\VC>tfsdeleteproject
Team Foundation Delete Project Tool
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: TfsDeleteProject [/q] [/force] [/excludewss] /collection:<url> <team proj
ect name>

Deletes the Team Project from Team Foundation. To use this command, you must be
a member of either the Team Foundation Server Administrators group or a member o
f the Project Administrators group for the project you are deleting. Use this co
mmand with caution because after deleting the team project it cannot be recovere
d.

   [/q] - Do not prompt for confirmation.
   [/force] - Continue even if some data cannot be deleted.
   [/excludewss] - Exclude the project's SharePoint site when deleting the proje
ct. This option will leave site intact so that it remains for other projects tha
t 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 spaces
 in the name.

D:\Program Files\Microsoft Visual Studio 10.0\VC>tfsdeleteproject /collection:ht
tp://appcompat-tfs:8080/tfs/appcompat DemoProject
Warning: Deleting a team project is an irrecoverable operation. All version cont
rol, work item tracking and Team Foundation build data will be destroyed from th
e system. The only way to recover this data is by restoring a stored backup of t
he databases. Are you sure you want to delete the team project and all of its da
ta (Y/N)?
y

Deleting from Build ...
Done
Deleting from Version Control ...
Done
Deleting from Work Item Tracking ...
Done
Deleting from TestManagement ...
Done
Deleting from LabManagement ...
  Not found
Deleting Report Server files ...
Done
Warning. Did not find SharePoint site service.
Deleting from Team Foundation Core ...
Done

D:\Program Files\Microsoft Visual Studio 10.0\VC>

原文地址:https://www.cnblogs.com/holly/p/1719832.html