Syntax-
TfsLabConfig permissions
/collection:
[]
[/allow:(* |perm1[,perm2,...])]
[/deny:(* |perm1[,perm2,...])]
[/remove:(* |perm1[,perm2,...])]
[/inherit:yes|no]
[/user:userName1[,userName2,...]]
[/group:groupName1[,groupName2,...]]
ObjectSpec Specifiers:
/url:VSTFS:///LabManagement//
/teamProjectCollectionHostGroup:
| /teamProjectCollectionLibraryShare:
/teamProject:
[/teamProjectLibraryShare:* | /teamProjectHostGroup:*]
/teamProject:
/teamProjectLibraryShare:
[/labEnvironment:
| /labTemplate:]
/teamProject:
/teamProjectHostGroup:
[/labEnvironment:]
List Of Permissions: ManageLocation, DeleteLocation,
Read, Create, Write, Edit, Delete,
Start, Stop, Pause, ManageSnapshots,
ManagePermissions, ManageChildPermissions,
EnvironmentOps, FullControl
Examples:
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/Collection0
/user:domain1\user1 /allow:Read
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/Collection0
/Url:VSTFS:///LabManagement/TeamProjectLibraryShare/102
/user:domain1\alias1 /allow:Create
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/DefaultCollection /teamProject:P1
/teamProjectHostGroup:PHG1 /LabEnvironment:LE1
/group:"[Project1]
eaders" /allow:Start /deny:Stop
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/Collection0 /teamProject:Project1
/teamProjectLibraryShare:PLS1 /LabTemplate:LT1
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/Collection1
/Url:VSTFS:///LabManagement/LabEnvironment/14 /user:domain1\user1
TfsLabConfig Permissions
/collection:http://abc:8080/TFS/Collection0 /teamProject:Project1
/teamProjectHostGroup:PHG1 /LabEnvironment:LE1 /inherit:no
Syntax- TfsLabConfig ListTeamProjectCollectionHostGroups /collection: Examples: TfsLabConfig ListTeamProjectCollectionHostGroups ...
Syntax- TfsLabConfig ListTeamProjectCollectionLibraryShares /collection: Examples: TfsLabConfig ListTeamProjectCollectionLibraryShares ...
Syntax- TfsLabConfig ListTeamProjectHostGroups /collection: /teamProject: Examples: TfsLabConfig ListTeamProjectHostGroups ...
Syntax- TfsLabConfig ListTeamProjectLibraryShares /collection: /teamProject: Examples: TfsLabConfig ListTeamProjectLibraryShares ...
Syntax- TfsLabConfig permissions /collection: /allow:(* |perm1[,perm2,.]) /deny:(* |perm1[,perm2,.]) /remove:(* |perm1[,perm2,.]) ...
Syntax- TfsLabConfig SetVMMServer /collection: /SCVMMServer: Example: TfsLabConfig SetVMMServer /collection:http://abc:8080/TFS/DefaultCollection ...
Syntax- VSTestConfig.exe licenses /addkey:ProductKey /removekey:ProductKey /count:# of licenses to add /DisplayInfo /ResetVUserHighWaterMark ...
Syntax- VSTestConfig.exe NetworkEmulation /Install /Uninstall /Repair /DisplayInfo Examples: VSTestConfig.exe NetworkEmulation ...
System error %ld encountered. Unable to display the meaning of this error due to an error encountered in the ::FormatMessage ...