TFSLabConfig Settings Command
Assign the System Center Virtual Machine Manager (VMM) that will be used by Lab Management.
To enable TFS to communicate with SCVMM, add the account under which TFS is running to the Administrator role in SCVMM.
TFSLabConfig Settings
/collection:teamProjectCollectionUrl
/scvmmServerName:VMM server name
[/ipblock:range of addresses for network isolation]
[/dnssuffix:dns suffix for network isolation]
[/noPrompt]
[/Force]
[/list]
Parameters
Parameter |
Description |
---|---|
collection:collectionUrl |
Required. The URL of the team project collection on the application-tier of the Team Foundation Server. Example: http://team.fabrikam.com:8080/tfs/DefaultCollection/ |
scvmmServerName:VMM server name |
Required. The fully qualified domain name of the SCVMM server that will be used by Lab Management. Example: scvmm.fabrikam.com |
ipblock:range of addresses for network isolation |
If you want to isolate each lab environment in its own private network, set this to specify the addresses to assign to its virtual machines. Because these IP addresses are used only for internal routing among the virtual machines in an environment, and are not exposed beyond the boundaries of an environment, you can specify any IP range that is not used within your public network. Example: 192.168.1.0/63 |
dnssuffix:dns suffix for network isolation |
If you want to isolate each lab environment in its own private network, specify the domain name suffix that you want to give the virtual machines in each lab environment. Example: fabrikam.com |
noPrompt |
Don’t display progress and results. |
Force |
Update the server name even if it has already been set. |
list |
Report the SCVMM server that is currently configured for a specified collection. |