Group.AccountRemove
Top  Previous  Next


Removes user account from global or local group

Category
SamAccount

Script section
All

Group.AccountRemove
Type, Name, SamAccountNameColumnVariable

Type

Options: Local | Global  
·Local - remove account from local group  
·Global - remove account from global group  

Name
Group name of group to remove account from  

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

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

Example
Remove accounts listed in column 1 from the local group "account operators"

Group.AccountRemove Local, Account Operators, %col1%