Kevin K
2007-02-03 16:48:00 UTC
I'm not a developer so please bear with me :)
I created a WMI query (to be used by Group Policy) to check for the
non-existence of a service. For example:
SELECT * FROM Win32_Service where Name <> "myservice"
The goal is to target machines that do NOT have a specific service present.
The above query I suspect is saying "sure -- I have quite a few services
that are not equal to "myservice".
I don't think WMI has a NOT logic operator as it doesn't seem to work?
In any case, how would one write a query that can be used as a WMI Filter
for Group Policy, that will only select computers that do NOT have
"myservice"?
Thanks!
I created a WMI query (to be used by Group Policy) to check for the
non-existence of a service. For example:
SELECT * FROM Win32_Service where Name <> "myservice"
The goal is to target machines that do NOT have a specific service present.
The above query I suspect is saying "sure -- I have quite a few services
that are not equal to "myservice".
I don't think WMI has a NOT logic operator as it doesn't seem to work?
In any case, how would one write a query that can be used as a WMI Filter
for Group Policy, that will only select computers that do NOT have
"myservice"?
Thanks!