Hi All,
I'm trying to create a script that does the following:
1. Copies AD group memberships from a source user to the target user
2. Checks whether the target user is a member of GroupA or GroupB
3. Then says If target user is a member of GroupA remove membership & If user is a member of GroupB remove membership.
Copying groups from other users saves a lot of work but it also puts them in a few groups they should not be in i.e. directors! If someone could help me with this I would be most grateful!
Thanks