Sccm collection query to get the list of machines which do not have "sms host agent" service installed.
There are lot of queries in google related to this, however, they say the state of a service. But i need help to check if the service is installed in first place?
Adding: If sccm 2007 client is not installed, will the query be of any good?
You'd do something like:
However, as you rightly point out, no SCCM client = no hardware inventory = no service information.
What you're better off doing is using information on discovered devices in your site with no client:
Replacing "XXX" with your site code.
Hope this helps.