Does anyone know of a command line utility that will allow me to add users to a specific group?
I am using the templates feature and after the template has been applied to new users we run a batch file to do a variety of different things and one of the items is to add that new user to a specific group.
i.e. The %2 variable is the user so the command line should be something that can incorporate the %2 variable. I have tried the usrtogrp.exe resource kit utility be it needs to read a text file and I cannot get the %2 into that text file?
Any help would be most appreciated.
Thank You.
I am using the templates feature and after the template has been applied to new users we run a batch file to do a variety of different things and one of the items is to add that new user to a specific group.
i.e. The %2 variable is the user so the command line should be something that can incorporate the %2 variable. I have tried the usrtogrp.exe resource kit utility be it needs to read a text file and I cannot get the %2 into that text file?
Any help would be most appreciated.
Thank You.
Comment