PS: Adding Users To Your Homelab AD

Description:

This is how you would go about adding AD Users to a test environment.

To Resolve:

1. Copy and paste the following to your domain controller and run it.

NOTE: You would have to fill in the required variables and of course have to be able to populate using the internet (randomuser.me’s website API’s), so this method may not be so clean. In that case, I have another script that creates 50 users statically.

 

Both of these scripts can be found in the gwActiveDirectory section.