Hey, so I’m a complete beginner to PS and I’ve decided to try and make the AD user creation process a bit more streamlined.
We don’t really do much in the way of bulk users here, so it’s more like 1 or 2 staff joining every month or so. I’m creating a script that will prompt for user input and save it in a variable. Where I’m getting stuck is with security groups. We have users that will be members of multiple security groups and I need a way to, for example allow someone to enter “HR” and “Admin” and then both of those security groups will be added to the new users membership.
Anyone got any ways to accomplish this? I’ve seen a way to do it with a single group using a switch but can’t find much in the way of multiple values being extracted.
I’ll probably need help on the extraction part as well as how to get that into AD.
Thanks in advance for any help.