Bagikan melalui


TFSLabConfig ListTeamProjectCollectionHostGroups Command

Use the ListTeamProjectCollectionHostGroups command to list the System Center Virtual Machine Manager (SCVMM) host groups that are assigned to a team project collection and that you have read access to. These collection host groups can be added to a team project by using the CreateTeamProjectHostGroup command. For more information, see TFSLabConfig CreateTeamProjectHostGroup Command

Required Permissions

To use the ListTeamProjectCollectionHostGroups command, you must have View Lab Resources permission at the Team Project collection level. By default, members of the TFS Administrators and Team Project Collection Administrators groups have this permission. For more information, see Team Foundation Server Permissions.

TFSLabConfig ListTeamProjectCollectionHostGroups
      /Collection:collectionUrl

Parameters

Option

Description

Collection:collectionUrl

Required. The URL of the team project collection on the application tier of Team Foundation Server. For example, /collection:http://abc:8080/TFS/DefaultCollection.

Example

For increased readability in the example, command options are listed on separate lines. In a command prompt window, type all options for a command on the same line.

TFSLabConfig ListTeamProjectCollectionHostGroups
    /collection:http://abc:8080/TFS/Collection0

See Also

Reference

TFSLabConfig ListTeamProjectHostGroups Command

TFSLabConfig CreateTeamProjectHostGroup Command

TFSLabConfig DeleteTeamProjectHostGroup Command

Concepts

TFSLabConfig Command Reference

TFSConfig Lab Command Reference

Configuring and Administering Lab Management