Can it be done in scripting?

  • Thread starter Thread starter Sam Chan
  • Start date Start date
S

Sam Chan

I have a big problem enabling / migrating users because of the following
problems.

User A
Name = David123
SamAccountName = John123

User B
Name = Tom123
SamAccountName = David123

User C
Name = David123-4052
SamAccountName = David123

Is it possible to get User A,B,C if I search David123?

Thanks alot
 
Are you saying that using the find command in ADU&C (dsa.msc) entering
david123 *doesn't* return all three results? I would say it does, for
sure...

If you wanted to script an exhaustive search every user and check for
sAMAccountName and/ or givenName equalling your search criteria then it's
possible yes.

You could also easily do this with an LDAP query. ANR will also do this for
you.


--

Paul Williams

http://www.msresource.net/
http://forums.msresource.net/

I have a big problem enabling / migrating users because of the following
problems.

User A
Name = David123
SamAccountName = John123

User B
Name = Tom123
SamAccountName = David123

User C
Name = David123-4052
SamAccountName = David123

Is it possible to get User A,B,C if I search David123?

Thanks alot
 
Back
Top