Modifying an attribute in AD for multiple users (CSVDE / ADModify)
Posted on 2007-04-04
I have a field in AD, in this case 'mailNickname', that I want to change for 1600 users. The value for each user will be different and the attribute is currently populated with an attribute I would like to discard.
I looked at CSVDE to do this. However CSVDE seems to only populate fields that are blank. When I try to change the field I get an error that says "Add error on line 2: Already Exists". I can run it again with a -k to ignore the error but it still doesnt modify the attribute. Since I have a large user base I need to be able to imput a file that has the changes I have.
So I moved on to ADModify, however ADModify seems to set one attrubite to one thing for everyone. And since i need to set and attribute to a unique value for each person that doesnt seem to work. There is a admodcmd.exe command line version but the help on this is limited, and i dont see a way to point it to a input file, and even if I can I have no idea what that file formatting would be.
any help is GREATLY appreciated.