Move AD Users into groups by csv input file
Posted on 2010-11-28
I have to write a bit complicated powershell script which definitely exeeds my knowledge with powershell. Here´s the problem:
I have 6 different groups for a special purpose to define a user right. The users will be member of only one of this 6 groups but can be members of other groups even also.
A CSV-File is created once a day that describes which user should be moved from one of the 6 grous to antoher of the 6. Other groupmemberships should not be affected by this move.
The CSV will look like this:
(All of the 6 Groups will have SSO as prefix. That should make the identification easier in the script).
I have the task to create a script that does the moving of users and creates a logfile. Quest Tools are available for this task.
Any help would be appreciated!
Thanks & Regards