Post by RLGxThanks guys. I'm not having any luck, keep getting "not a valid query
string". Arrrrgh!
Post by Wayne TiltonPost by RLGxI'm trying to create a query on AD 2003 DC that lists any group that
(&(objCategory=group)(!memberof=*)")
Anyone have any suggestions?
Thanks.
(&(objectCategory=Group)(!member=*))
HTH,
Wayne Tilton
You haven't told us what tool(s) you are using, so let us assume that you
are using Joe's most excellent adfind (www.joeware.net). In that case,
you could use this command to get the DNs of all groups without members:
adfind -default -f "(&(objectCategory=Group)(!member=*))" -dsq
Note that because the command line includes an & you have to include it
in quotes.
If you're using another command line tool, e.g. ldifde, csvde, the same
applies. If you're using the Find dialog in dsa.msc, do a 'Custom
Search' and enter the query, sans the quotes, into the Advanced tab.
HTH,
Wayne Tilton