either the group name in the file does not exist, or the user name you're trying to login with.
you can't get it to append each time, you'll have to create unique files then merge them afterwards - the command does not have an "append to file" option.
This would be simpler if you did it in VBS or C# etc of course ;-)
Please post "eemgroups.txt" file.
not sure how seeing the group file is going to help, unless you can also see the names of the groups in the OP's database?
It could be just a parsing issue, I want to check that first.
The eemgroup.txt has
CFW Library Admins
CFW Municipal Courts
The for loop is reading the file, I think that is just the way that the command executes. This loop does not have a problem deleting users listed on a file, but when it does the DumpUsersByGroups is reading three diferent groups and I do not think that is pausing before running the second group.
I can run the command independently for each group and create their ouw file and consolidate at the end, I guess