Using Team Foundation Server Command-Line Tools
Team Foundation Server includes command-line tools to help you manage 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.