Home Powershell

Deploy Random User For Lab Environment

German_IslasGerman_Islas Customer IT Monkey ✭


Hello, I just wanted to share this with everyone.

I have created a script that will create users in a lab environment by getting a random first name and last name from the list in the script.

The script will also create a OU in AD for each department. It will also create, 1 CEO, 1 VP per department, 2 managers per department, and give each manager 10 employees. it will also create the link between manager and employee and it will place each user in their department OU.

The script will also generate a random 14 char password, provide a random phone number, provide a random employee number, and assign an email address of firstname.lastname@yourLabDomain.

I hope you find this useful like I do. :)

the script can be found here:


Sign In or Register to comment.