I would mix it a little different way. First part i would do like Jay
wrote
On Dec 9, 9:29 pm, Jay Lee <
j...@pbu.edu> wrote:
> gam print users
>
> to get a list of all users in the domain. Then clean that up in Excel.
One note though, i would use .txt not .csv extension
Next i would use find-replace feature to generate a full command to
each line. Smth like this:
c:\<address_to_your_gam_directory\gam.exe delete user xyz
Now the only things left to do is to rename the txt extension to bat/
cmd and execute it
Rgds,
Ahti