This PowerShell script facilitates the bulk import of users into Windows Active Directory Domain Services (ADDS) from a CSV file. The script reads user data from the users.csv file and creates new user accounts in Active Directory based on the details provided. I made this as a part of my school project, edited from online articles.
- Download or copy the script file
bulk-import.ps1andusers.csvto your local machine. - Ensure the
users.csvfile is in the same directory as the PowerShell script.
- Open PowerShell with administrative privileges.
- Navigate to the directory containing the script and the
users.csvfile. - Run the script