Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

TFSDeleteProject

Use TFSDeleteProject to destroy a team project from Visual Studio Team System Team Foundation Server when the project is no longer needed on the Team Foundation Server.

When you run TFSDeleteProject, the team project is permanently destroyed and cannot be recovered.

You can find the TFSDeleteProject command-line utility in <drive >\Program Files\Microsoft Visual Studio 9.0\Common7\IDE on any computer where Team Explorer is installed.

NoteNote:

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

Required Permissions

To use the TFSDeleteProject command, you must be a member of the Team Foundation Administrators security group or the Project Administrators security group. For more information, see Team Foundation Server Permissions and Team Foundation Server Default Groups, Permissions, and Roles.

TFSDeleteproject [/q] [/force] [/server:servername] team project name

Argument

Description

Team project name

The name of the project. Use quotation marks if there are spaces in the name.

servername

The server name. Use quotation marks if there are spaces in the name.

Option

Description

/q

Use the quiet mode. Do not prompt the user for confirmation.

/server:servername

The name of the application-tier Team Foundation Server where the team project is located. This is required in multi-server environments.

/force

The program should continue even if some parts cannot be deleted.

You must be connected to Team Foundation Server before using TFSDeleteProject.

The following command destroys the team project StoreFront on the Team Foundation Server AdventureWorks1 and from Team Explorer.

> TFSDeleteProject /server:AdventureWorks1 StoreFront
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.