need help finding out which accounts in an OU aren't members of a certain security group RRS feed

  • Question

  • Hi all,

    I'm new to scripting but I think what I need might be relatively simple. I have about 40 department OU's that contain users. Each user in that OU needs to be a member of that department's security group for our My Docs redirection to work. For example, users in the Human Resources OU need to be a member of "HR (Everyone)".  I'm hoping to find out which users in an OU are NOT in that group. Of course, I'd love to be able to run this against all user OU's at once but they would need to be members of their respective groups so that may not easily be possible. I don't mind if I have to go one OU at a time.

    Our domain function level is 2008 R2 if that is needed.

    I hope I've provided enough information and thanks in advance!

    • Edited by DavidJB Thursday, June 19, 2014 7:13 PM
    Thursday, June 19, 2014 7:12 PM


All replies