Syntax- TfsLabConfig Permissions /collection: /allow:(* |perm1[,perm2,.]) /deny:(* |perm1[,perm2,.]) /remove:(* |perm1[,perm2,.]) ...

Syntax-
TfsLabConfig Permissions
             /collection:
             []
             [/allow:(* |perm1[,perm2,...])] 
             [/deny:(* |perm1[,perm2,...])]
             [/remove:(* |perm1[,perm2,...])]
             [/inherit:yes|no]
             [/user:Benutzername1[,Benutzername2,...]]
             [/group:Gruppenname1[,Gruppenname2,...]]


ObjectSpec-Bezeichner:

             /url:VSTFS:///LabManagement//

             /teamProjectCollectionHostGroup:
                             
                 | /teamProjectCollectionLibraryShare:
                             

             /teamProject:
             [/teamProjectLibraryShare:* | /teamProjectHostGroup:*]

             /teamProject: 
             /teamProjectLibraryShare:
             [/labEnvironment:
                 | /labTemplate:]

             /teamProject: 
             /teamProjectHostGroup:
             [/labEnvironment:]



Liste der Berechtigungen: ManageLocation, DeleteLocation,
                     Read, Create, Write, Edit, Delete,
                     Start, Stop, Pause, ManageSnapshots,
                     ManagePermissions, ManageChildPermissions,
                     EnvironmentOps, FullControl


Beispiele:

TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0
             /user:Domäne1\Benutzer1 /allow:Read

TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0
             /Url:VSTFS:///LabManagement/TeamProjectLibraryShare/102
             /user:Domäne1\Alias1 /allow:Create
             
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/DefaultCollection /teamProject:P1
             /teamProjectHostGroup:PHG1 /LabEnvironment:LE1
             /group:"[Projekt1]
eader" /allow:Start /deny:Stop
                        
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0 /teamProject:Projekt1
             /teamProjectLibraryShare:PLS1 /LabTemplate:LT1
             
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection1
             /Url:VSTFS:///LabManagement/LabEnvironment/14 /user:Domäne1\Benutzer1
                  
TfsLabConfig Permissions 
             /collection:http://abc:8080/TFS/Collection0 /teamProject:Projekt1
             /teamProjectHostGroup:PHG1 /LabEnvironment:LE1 /inherit:no