Announcement

Collapse
No announcement yet.

Managing users in add by script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Managing users in add by script

    Hello guys


    How can I simulate the graphical renaming of a user in AD (w2k3)

    I explain my goal :

    I create users with DSADD USER + text_file containing

    LASTNAME;FIRSTNAME;LOGONNAME

    EX: DUPOND;JACQUES;F123456

    In ADUC I see a line like this :

    Nom Nom Affiché Bureau(Office)
    JACQUES DUPOND JACQUES DUPOND HEBERT

    What I want to do is the same as
    selecting the line
    right-click on it or pressing the F2 key
    changing the first "JACQUES DUPOND" by F123456

    The result must be :

    Nom Nom Affiché Bureau(Office)
    F123456 JACQUES DUPOND HEBERT

    I do not want to do this graphically but by use of a command line tool.

    Can ADModcmd.exe or ADmod.exe or others tools help me ?
Working...
X