| VBscript to Add all Users of a OU to a Group |
|
|
|
| Written by Administrator |
| Monday, 02 November 2009 11:25 |
|
I have written a script to add all users of an OU to a group, there are many reason why one would want to do such a thing, I will give you my example. I have created a security group that controls Internet access, now I wish to add departments to this group. Unfortunately you can not just add the OU "Accounts" or "Finance" to your new security group you will need to add the users through a script. In the example below I have taken all users from the OU "ouName" and added them to the Group "groupName" Copy text below to notepad, and save as "OU2Group.vbs" '**********************************************************************
|
| Last Updated ( Monday, 02 November 2009 13:00 ) |


