Human-readable information

Hi,

I’m trying to get Bigfix to translate OS-related info into something simpler for inclusion into a chart. Two desired sections of the chart could be called “Windows 7” and “Windows 10.” Version of operating system produces specific build information. I just need the name.

Here’s what I have: “if version of operating system of client then (if it contains “10.1” then “Windows 10” else “Unknown”)”

The result is the usual “This expression could not be parsed.”

Try
name of operating system

No dice.

Q:if name of operating system of client contains “10.0” then “Windows 10” else "Unknown"
E: The operator “operating system” is not defined.

Q:  if operating system as string contains "10.0" then "Windows 10" else "Unknown"
A: Windows 10
T: 0.096 ms
I: singular string
F: Fingerprintable: true, Path: 0x00000003, Path Sum: 0x0000031a, Bits: 0x00000020, Global Sum: 0x03f9ccd0, Seems Unchanged: true
2 Likes

Try this also:
Q: if (name of operating system starts with “Win10”) then (“Windows 10”) else (“Unknown”)

1 Like

@AlexaVonTess & @itsmpro92 Both of those worked. thank you very much! Forum won’t let me mark both solutions as being the one that solved the question.

No, I mean try
name of operating system

‘operating system’ is global, not a property ‘of client’

This should give a human-readable answer already, such as ‘Win10’ or ‘Win2016’