ADImporter
ADImporter copied to clipboard
Bugfixes
$employeeNumber was never initiated, added that.
If running the script once and then running it again, the user would exist and it would continue and loop through all names without adding anything. Fixed that by adding $employeeNumber = $employeeNumber+1 before the continue statement.
$employeeNumber fix is already implemented, and Spelling fix would be gramatically incorrect. If you can remove these two fixes, and take out your custom OU details from the script (Ideally keep the defaults from master) then ill be happy to merge.
Totally didnt forget about this repo. Better late than never i guess 😇