Updating Active Directory to modify multiple users with unique data

J

jpcw2k

I have a list of 2000+ users from Active Directory and I need to update their
records so that each record contains that employee's unique employee ID number.
I have seen many different ways of doing batch/group updates with CSVDE and
LDIFDE but only in cases where each record will be updated with the same piece
of data. What is the best way to complete this task?
 
T

Tomasz Onyszko

I have a list of 2000+ users from Active Directory and I need to update their
records so that each record contains that employee's unique employee ID number.
I have seen many different ways of doing batch/group updates with CSVDE and
LDIFDE but only in cases where each record will be updated with the same piece
of data. What is the best way to complete this task?

You can user CSVDE or LDFIDE to update each object with unique data, but
you have to preper the content of input files with this modification.

To update all Your users with specific ID number You can use simple ADSI
script which will read or generate this data and then will write it
togiven user object property

You will find a lot of such script samples on the web


Here You will find example of script which modyfies user attribiute
(displayname) which I posted few weeks ago on this group i different
thread (this scrip updates displayName with strng in specified format
but methodology is the same for You)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top