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.
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.