I wanted to write some relevance to determine if a particular endpoint was running in VMWare.
First thing I did was dump all of the SMBIOS values for an example system using this relevance:
unique values of ( ( item 0 of it & name of item 1 of it as trimmed string & "=" & ( (item 1 of it as string as trimmed string) | (item 1 of it as hexadecimal) | "ErrorUnknownValue" ) ) | "ErrorUnknownName") of (name of it & ": ", values of it) of structures of smbios
Looking through all the results I find:
A: system_information: manufacturer=VMware, Inc.
A: system_information: product_name=VMware Virtual Platform
A: system_information: serial_number=VMware-00 00...
A: system_information: uuid=0000...
A: system_information: version=None
A: system_information: wake_up_type=6
Which leads me to write more exact relevance like this:
Q: values "product_name" of structures "system_information" of smbios
A: VMware Virtual Platform
T: 0.154 ms
I: plural smbios value
Then to turn this into a true/false boolean value for a fixlet/task or automatic group:
Q: exists (it as string) whose(it starts with "VMware Virtual Platform") of values "product_name" of structures "system_information" of smbios
T: 0.116 ms
I: singular boolean