Incomplete and needs verification
https://www.youtube.com/watch?v=Wc-WQrvw2fE
https://msdn.microsoft.com/en-us/powershell/reference/4.0/microsoft.powershell.utility/import-csv
Create a users.csv
file to import from with the first line:
GivenName,Surname,Name,DisplayName,SamAccountName,UserPrincipalName
Be sure to install the Windows Feature named Windows PowerShell Integrated Scripting Environment (ISE)
.
Run the Active Directory Module for Windows PowerShell
with admin privileges.
Start → Administrative Tools → Right-Click on Active Directory Module for Windows PowerShell → Run as Administrator
Test the import:
PS C:\Users\Administrator> Import-Csv .\users.csv
Import the users:
PS C:\Users\Administrator> Import-Csv .\users.csv | New-ADUser -Enabled $True -AccountPassword (ConvertTo-SecureString Pass123 -AsPlainText -force) -ChangePasswordAtLogon $True -City Tucson -State AZ
https://sourceforge.net/projects/adbulkadmin/
This is a bulk administration tool for an AD administrator to administer a large number of Active Directory users.
You can use it to: