Active Directory Server 2008 Adding Bulk Users.

halaakajanhalaakajan Member Posts: 167
Hello guys.


I have a project and will be needed to add 300 Users. What is the best way to add users ? CSVDE or LDIFDE or there is another tool which is better ?


Any good sources to read regarding this ? Thanks.

Comments

  • TLeTourneauTLeTourneau Member Posts: 616 ■■■■■■■■□□
    I'd use LDIFDE, it's more flexible. Have you looked at Step-by-Step Guide to Bulk Import and Export to Active Directory?
    Thanks, Tom

    M.S. - Cybersecurity and Information Assurance
    B.S: IT - Network Design & Management
  • meadITmeadIT Member Posts: 581 ■■■■□□□□□□
    I would look into Powershell using the AD commandlets. You can read the information in from a csv file, parse through it, and use a command similar to the following.
    new-ADUser -Name $strName -SamAccountName $strsAMA -ScriptPath $script -DisplayName $strName -Enabled $true -AccountPassword (ConvertTo-SecureString "Passw0rd1" -AsPlainText -force) -GivenName $user.FirstName -Surname $user.LastName -Path $path -ChangePasswordAtLogon $true -Description $desc -HomeDirectory $homeDir -HomeDrive "H:" -UserPrincipalName "$strsAMA@domain.local" 
    
    CERTS: VCDX #110 / VCAP-DCA #500 (v5 & 4) / VCAP-DCD #10(v5 & 4) / VCP 5 & 4 / EMCISA / MCSE 2003 / MCTS: Vista / CCNA / CCENT / Security+ / Network+ / Project+ / CIW Database Design Specialist, Professional, Associate
Sign In or Register to comment.