Configuring Lab Management with TFSLabConfig
Team Foundation Server includes a command-line tool to help you configure and manage the lab service provide by Visual Studio Lab Management.
The TFSLabConfig command-line tool is located in Drive:\Program Files\Microsoft Team Foundation Server 2010\Tools on Team Foundation Server application tier. It is also located in Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE on the client machine where Microsoft Test Manager is installed.
To use TFSLabConfig, you must have the appropriate permissions for the operation that you want to perform. The required permissions are described for each command in the command reference topic.
This tool provides commands to perform the following tasks.
Manage host groups in a team project. Add or remove a host group in an individual team project.
Manage library shares in a team project. Add or remove a library share in an individual team project in the collection.
Manage permissions for users on specified Lab Management objects. Add or remove permissions for users and user groups to an object in a team project or team project collection.
Manage the service account of a team project collection. Add or modify the user account credential that is used by test agents and build agents to communicate with test and build controllers.