Relevance language for analyses

(imported topic written by drp91)

Hi…I’m a new user and beginner at writing relevance code. I’m building an analysis and I’m only interested in targeting this analysis for Windows 2000/XP/Vista. Wondering if there is functionality within BES to target the analysis for a subset of machines…and, in this case, just Windows desktops…Or will I need to have support in the analysis relevance language to check for OS and version? Attached relevance.txt is the current relevance code, including support for OS check. Thx

(imported comment written by BenKus)

Hello,

In BES 7.0, we have better UI support for easily selecting which computers to target with Analysis.

In BES 6.0, the best thing to do is to add the relevance to the Analysis and it won’t be evaluated on computer that don’t meet the relevance expression. I think this is what you want:

((it = “Win2000” OR it = “WinXP” OR it = “WinVista”) of name of operating system) AND (value “ProductType” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions” of registry = “WinNT”)

Ben