Bulk AD User creation Powershell Script
As a follow up, I want to post of one of my most recent scripts. This script is used to do bulk AD user creation. My company has been growing rapidly and it takes up a lot of my time when creating and setting up new employee accounts and mailboxes. I recently spent some time writing a script to automate this process. This script takes a CSV file that has been filled out by HR with the new employee's name and other information. It imports that information into Active Directory and creates a user profile. Our hiring managers often include in the service ticket the name of an employee who would have the same rights/permissions/and memberships as the new employee. So to simplify things, I put in my CSV file a column that is the "User to Copy". This tells the script to copy that user's profile/OU/memberof details and apply them to the new user. Once created, the script then starts a remote session into our On-prem ...