title: Powershell Add User to Group A if they are not already a member of Group A AND not a member of Group B as well
body: <p>I would like to write a script that searches for users and if those users are not members of both Group A and B then they get added to Group B. I have found a lot of conditionals for adding a member to one group if it does not exist in another, but not two groups.</p>