In need of help with Relevance statement

(imported topic written by gstrawn91)

Greetings all,

I’m still getting my feet wet with relevance statements and I’ve run into a quandry.

I am trying to separate a set of windows servers into two automatic groups based on the value of a custom registry key located at HKLM\System called “ServiceSet”. The three states that this key can be are “Core”, “BusinessApps”, or non-existant.

I was attempting to use the following statement to seperate out the BusinessApps from Core servers

(NOT exists value “ServiceSet”=“Core” of key “HKEY_LOCAL_MACHINE\SYSTEM” of registry)

OR

(value “ServiceSet”=“BusinessApps” of key “HKEY_LOCAL_MACHINE\SYSTEM” of registry)

If anyone can help point me in the right direction, it would be greatly appeciated.

(imported comment written by cstoneba)

try this relevance:

exists value “ServiceSet” whose (it = “Core”) of key “HKEY_LOCAL_MACHINE\SYSTEM” of registry

(imported comment written by gstrawn91)

That worked!

Thank you very much.