Script to randomly assign users to a security group on creation

Look for assistance creating a script. We have a about 20 security groups all with different names . They represent a Dynamic VLAN, tied to NPS. To make sure we keep the pools balanced, each time a new user comes in we want to add the user to a different dynamic VLAN. Basically look for a script that says.

On user account creation assign user to random security group – vlan1 vlan2 etc etc.

submitted by /u/argjend2
[link] [comments]

Leave a Reply