No announcement yet.

ADUC Query Creation Help

  • Filter
  • Time
  • Show
Clear All
new posts

  • ADUC Query Creation Help

    Hi All,

    I'm trying to write a query to get all users that have a specific container underneath them. Is this even possible?

    Any help would be appreciated.
    GoogleFu is strong with this one ^

  • #2
    Re: ADUC Query Creation Help

    users that have a container underneath them ?

    You mean you want to know all users that are in a specific container or OU ?

    These two links will give you a start:

    However - give me some more specific info, and I'll see ifI can custom design one..
    Last edited by tehcamel; 21st April 2009, 02:43.
    Please do show your appreciation to those who assist you by leaving Rep Point


    • #3
      Re: ADUC Query Creation Help

      Not exactly. I've read those already but nothing comes close to my issue. I appreciate it though.

      Basically a user lives here CN=My Name,OU=MyOU,DC=internal,DC=Corp

      However, underneath certain users is another CN=passwordreset,CN=My Name, OU=MyOU,DC=internal,DC=Corp.

      So I'm basically trying to enumerate users that have the CN underneath themselves.
      GoogleFu is strong with this one ^