Can johndo be programmatically ascertained or do you have a
map file.
If programmatically ascertained by attributes in the userid
then you can take a simple script from say technet scriptcenter or AD Cookbook
and manipulate it to grab the proper attribute(s), create the new name, and then
do the movehere command on the ids. You will need to keep in mind the
possibility of duplicates and what you will do for them.
If you have a map file it will be a little more intense as
you will have to read the file and then find the userids in question in the
directory (unless you map full dn to the new name) and then do the movehere.
All of this can be put together from the content of the
scriptcenter or Robbie's AD Cookbook.
joe
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Waldrop
Sent: Friday, January 16, 2004 11:46 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Rename Users in Mass
I need to rename the username and samid from jdoe to
johndoe.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mulnick, Al
Sent: Friday, January 16, 2004 9:07 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Rename Users in Mass
What? Like the ADC does?
When
you say rename, what are you thinking of renaming? Just the display
name? The CN? Both?
Check
out the scripts at Microsoft's script center for some scripts that will allow
this (don't forget to write it out to a file first and figure out if you have
any duplicates).
Al
-----Original Message-----
From: Jeremy Waldrop [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 7:27 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Rename Users in MassI have a client that would like to rename 1500 users in AD from first initial last name (jdoe) to first name last name (JohnDoe). Is there a utility or script that will accomplish this?Thanks.
