Add users of an OU to a Group

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 16 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
buonigr
Posts: 1
Last visit: Wed Sep 19, 2007 1:14 am

Add users of an OU to a Group

Post by buonigr »

I need a script (vb) that can add users of a particular OU to a particular group.

I can set input parmaters to prompt the user for a city location, and use a select case to set the DN of the OU and th DN of the group.

But I need something that can loop through all users in the OU and add them to the group.

Please help.
This topic is 16 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked