Scripting changes to user accounts

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I have nearly 200 user accounts that were created by hand
to get the users up quick using OWA. Now each of these
user accounts needs information added such as description,
telephone number, street, city, state, zip code, and logon
script. I have seen some scripts on the Technet site for
changing these but you have to have the full object
information from the object tab on the actual user
object. I have looked at addusers.exe, but it has
limitations and cannot truly modify an existing account.
Someone mentioned ADSI.

Any recommendations before I start a new learning curve?

Steve
 
I seem to remember reading somewhere that CSVDE could only
import data into AD to create new objects. The implication
being that to change attributes for existing users you are
left with LDIFDE if you want automation without using one
of the many different routes to ADSI.

Is this true?
-----Original Message-----
User ldifde or csvde either can be used to export users and then import them
with changes
http://support.microsoft.com/default.aspx?scid=kb;en- us;327620
us;237677


--
Richard McCall [MSFT]

"This posting is provided "AS IS" with no warranties, and confers no
rights."
Steve said:
I have nearly 200 user accounts that were created by hand
to get the users up quick using OWA. Now each of these
user accounts needs information added such as description,
telephone number, street, city, state, zip code, and logon
script. I have seen some scripts on the Technet site for
changing these but you have to have the full object
information from the object tab on the actual user
object. I have looked at addusers.exe, but it has
limitations and cannot truly modify an existing account.
Someone mentioned ADSI.

Any recommendations before I start a new learning curve?

Steve


.
 
Steve,

There is a really neat utility called ADModify that will take care of this
for you very quickly. Here is a link to it:

ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify/

This was written by two Microsoft employees. Right now they have version
1.5 out and I believe that they are working on version 2.0. Take a look at
this utility as it will really help you in most situations.

Other options are csvde and ldifde ( as already mentioned ) and scripting.
ldifde is one of my favorite ways to make changes - if ADModify can not do
it!

HTH,

Cary
 
Correction - not sure that csvde can handle updates! I have always used
ldifde.

Cary
 
Back
Top