(imported topic written by SystemAdmin)
I want to run a simple relevance statement to say if a mode number equals a specific model, make it relevant…What am I doing wrong, I keep getting “False” below are two examples…
Example 1:
q: if (exists wmi) then (string value of select “Model from Win32_ComputerSystem” of wmi) else (“N/A”)
A: PowerEdge 2650
q: (if (exists wmi) then (string value of select “Model from Win32_ComputerSystem” of wmi) else (“N/A”)) = “PowerEdge 2650”
A: False
Example 2:
q: string value of select “Model from Win32_ComputerSystem” of wmi as string
A: PowerEdge 2650
q: string value of select “Model from Win32_ComputerSystem” of wmi as string = “PowerEdge 2650”
A: False