I need help writing a query in LanDesk 8.7.
I only want query computers in a OU=Computers,OU=NY,DC=MYDC,DC=COM.
In the Computers OU... I have another OU=ConferenceRoom (this contains more computers).
I dont want the query to detect the computers under the ConferenceRoom OU. I only want the computers in the Computers OU.
I am using (objectClass=computer)
Thanks in advance.
I don't think you can.
See by being in a sub OU of computers, they are in the computers OU so they have to be included in such a query.
Now you could do an inventory query instead and setup the query based on LDAP Location. There you can do an exact match option.
Retrieving data ...