How to Filter Some Machines based on their hostname using Fixlet's Relevance

Is it possible to exclude some of the machines based on their hostname using BES Fixlet? Another option is to try to exclude any machine that is not part of the domain.

not exists (strings ("foo";"bar") whose (computer name contains it))

https://developer.bigfix.com/relevance/reference/string.html
https://developer.bigfix.com/relevance/reference/string-set.html#string-set-contains-string-set-boolean

(it as string as lowercase = "mydomain.com" ) of (dns domainname of local computer of active directory)

https://developer.bigfix.com/relevance/reference/active-directory-local-computer.html#dns-domainname-of-active-directory-local-computer-string

we often use this…

((β€œ|” & computer name & β€œ|”) is not contained by β€œ|Server1|WS1|WS2|DC1|BDC|MaxFS|Computer1|”)

This would keep these from being applicable to the fixlet you put this in. You dont have to use the Pipe (|) you can use any delimiter

I was able to achieve the result I was looking for, thanks for all the support.

If you don’t mind, can you mark this as solved?

If the host names use a pattern (vs a static list of specific machines), a regex is a good solution. We use regex in combination with a strict naming convention to filter our computers.

computer name = case insensitive regex "some regex"
1 Like