Matt,
I typically use ADModify or ldifde for this sort of thing.
ADModify is a wonderful tool that will allow you to make bulk changes to a
lot of user account objects at one time. However, the caveat here is that
the value would have to be the same for all of the user account objects.
For example, everyone in the Houston office would have the same address of
123 Main Street, Houston, TX 77013. This would be really simple with
ADModify. It would be very doable with ldifde as well but would require a
bit more work.
ldifde might just be your answer here. To expound upon what Ace gave you:
Say that you have 10 user account objects and you need to enter each
person's direct telephone number. Obviously, the attribute will be the same
( telephoneNumber ) but the value will be different in each case.
Take the dn: from each user account object ( on the first line ), on the
second line make it "changeType: modify" and then on the third line make it
"replace: telephoneNumber". On the fourth line you would enter
"telephoneNumber: 713.555.1212". Do not forget the little dash "-" on the
fifth line. Skip a line and then repeat the process for the second user.
And so on and so on.
I might suggest that you consider creating a separate .ldf file for each
attribute that you need to modify. So, you would have a telephone.ldf file
for that attribute, a manager.ldf file for that attribute, etc. etc. etc.
Getting the dn: for each user can be a pain. Not really, though. You can
easily create the initial .ldf file that will have the attributes that you
need by using your existing AD. Then use the 'features' of NotePad to make
any global change that you need ( changeType: add to changeType: modify, for
example ).
HTH,
Cary
matt hjm said:
I need to make bulk changes to existing AD users, the attributes will be
common but the values will be different e.g manager, telephone numbers, we
also have extended the schema to create new attributes.
I would like to use csv files that I can populate and then import the csv
file. I understand csvde.exe can be used to import a csv to create new
accounts.
If I had common attribute values to change I could use ldifde.exe, and
search & replace common attribute values before importing.