Script to Add users to Groups specified into txt file (Active Directory)
Posted on 2011-10-06
I need to add users into groups by creating these groups if they doesn't exist yet.
I would start from a txt file containing users and groups like that:
I need to read each row for each user and each group, create the group if it doesn't exist in AD by adding a suffix "Office_" (so the new group will be "Office_Administrative", following the txt example I first wrote) and add the user to the group.
Thx in advance!