If user is in Group A and Group B and not disabled, remove from Group B RRS feed

  • Question

  • Hi folks -

    I am looking to create a script that will search AD for all users who are

    • members of Group A, and
    • members of Group B, and
    • not disabled

    and if all three things above are true, remove the user from Group B.

    I am totally unskilled in PowerShell... this seems like it should be fairly simple though...

    Thursday, October 29, 2020 6:12 PM

All replies

  • Never mind, apparently this is the wrong forum for such a request...
    Thursday, October 29, 2020 6:19 PM