Syntax- TfsLabConfig permissions /collection: /allow:(* |Berechtigung1[,Berechtigung2,.]) /deny:(* |Berechtigung1[,Berechtigung2,.]) ...

Syntax-
TfsLabConfig permissions
             /collection:
             []
             [/allow:(* |Berechtigung1[,Berechtigung2,...])] 
             [/deny:(* |Berechtigung1[,Berechtigung2,...])]
             [/remove:(* |Berechtigung1[,Berechtigung2,...])]
             [/inherit:Ja|Nein]
             [/user:Benutzername1[,Benutzername2,...]]
             [/group:Gruppenname1[,Gruppenname2,...]]


ObjectSpec-Spezifizierer:

             /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:Lesen

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]\Leser" /allow:Starten /deny:Beenden
                        
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:Nein