Updated: Mar 17, 2019
Here is a function that will generate random user information. The information created can be used to create Active Directory accounts or sample HR feed data. I designed this script to populate a Staging Active Directory server so I could test out scripts with a Lab Active Directory.
Also, the script can also create full ORG structure. CEO at the top, VP then managers and last subordinates. With the ORG structure in-place, you can create PowerShell code as if you are working on a real corporate environment.
Create Full ORG with 2 additional Employees
Get-RandomUser -Mode StaffandEmployees -NumberofUsers 2