Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Visual Studio Team Foundation Server (TFS) command-line tools do several types of tasks. Some tasks can be done through a user interface and others are accessible only through the tool. Command-line tool tasks include managing Team Foundation version control (TFVC) objects, work item tracking objects, objects that support Microsoft Test Manager, as well as configuring and managing TFS application-tier servers.
You might need to open an elevated Command Prompt window to run a command line tool, even if you log on with administrative credentials.
Client tools: To access client command-line tools, open a Command Prompt window where either Visual Studio or Team Explorer is installed and enter:
cd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE
On a 32-bit edition of Windows, replace %programfiles(x86)% with %programfiles%.
Server tools: To access server command-line tools, open a Command Prompt window on the application-tier server where TFS is installed and enter:
cd %programfiles%\Microsoft Team Foundation Server 12.0\Tools
For the required permissions to exercise the command options, see the associated topic.
Topics |
Client tool |
Server tool |
---|---|---|
Manage TFVC:
|
||
Manage work item tracking:
|
||
Manage Microsoft Test Management objects:
|
||
Manage TFS servers:
|
||
Manage Visual Studio Lab Management:
|
Q & A
Q: Are there other command line tools that interface with TFS?
A: Yes. Visual Studio Team Foundation Server Power Tools provides companion tools to tf.exe that offer additional version control commands, work item tracking, and team project manipulation. Some commands invoke a graphical user interface. In addition, the power tools provide several user interface tools. Refer to the help content that ships with the power tools for usage.