Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

ADFind - How to find object in root domain and all his children ?

$
0
0

Hello,

I would like to query every Windows XP computers on my AD forest that are using "Service Pack 2"

For that, I use this query with adfind :

adfind -b "dc=idf,dc=CHILD1,dc=ROOT,dc=forest,dc=local" -f "(&(objectcategory=computer)(operatingSystem=*XP*)(operatingSystemServicePack=Service Pack 2)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" 1.1 -csv

I have several CHILD domain (CHILD1, CHILD2, etc...)

What is the right query to have results from ROOT and every CHILD Domains ?

Thank you


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>