Account.Set.Group.Local
Top  Previous  Next


Sets / edits user account local group membership

Category
SamAccount

Script section
[Batch], inside Data.Loop..EndLoop statement

Account.Set.Group.Local SamAccountNameColumnVariable, Group1, group2, ..., group10

SamAccountNameColumnVariable
Format: "%colX%", X = Column in [Data] section with existing SamAccountNames  

Group1..GroupX

The account is added to all listed groups that it is not already a member of and removed from all groups not listed.  

Other parameters
This command is executed on the current machine in the [Machines] section.