Using Team Foundation Server Command-Line Tools

You can perform many management and configuration tasks for Visual Studio Team Foundation Server at a command prompt. You can also use command-line tools to perform tasks for version control and build. As an alternative, you can use the administration console for Team Foundation to manage and configure your deployment of Team Foundation Server.

Note

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to use these commands 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.

In This Section

  • Managing Server Configuration with TFSConfig
    Describes the options and parameters of TFSConfig, a command-line tool that you can use to review and manage configuration settings for Team Foundation Server.

  • Configuring Lab Management with TFSLabConfig
    Describes the options and parameters of TFSLabConfig, a command-line tool that you can use to manage the lab service provide by Visual Studio Lab Management.

  • Changing Groups and Permissions with TFSSecurity
    Describes the options and parameters of TFSSecurity, a command-line tool that you can use to review and manage objects, application groups, users, and permissions for Visual Studio Application Lifecycle Management (ALM).

  • Specifying the Bug Type to File By Using Microsoft Test Manager
    By using the tcm bugfieldmapping command-line tool, you can import and export a mapping file to the team project. If you use this file, a tester can automatically create a work item for a code defect that was found by using Microsoft Test Manager.

  • TFSDeleteProject: Deleting Team Projects
    Describes the options and parameters of TFSDeleteProject, a command-line tool that you can use to delete a team project.

  • Manage Project Server Integration with TfsAdmin ProjectServer
    Describes the options and parameters of TfsAdmin ProjectServer, a command-line tool that you can use to configure the integration of TFS and Project Server.

  • TFSFieldMapping
    Describes the options and parameters of TFSFieldMapping, a command-line tool that you can use to upload or download the file that maps fields in Microsoft Project. By editing this file, you can customize how fields are defined for work items that are stored in Team Foundation and that are mapped to fields that are defined for Microsoft Project.  

  • witAdmin: Administering Objects for Tracking Work Items
    Describes the options and parameters of witAdmin, a command-line tool that you can use to extend the capabilities of Visual Studio ALM. You can also use this tool to customize your processes by modifying and administering objects that help you track work items.

Configuring Your Server Using the Team Foundation Administration Console

Configuring Users, Groups, and Permissions