(imported topic written by SystemAdmin)
All,
I’m planning to propose a change to our local “Computer Manufacturer” and “Computer Model” retrieved properties so that one property works for all computers. The existing property for “Computer Model” errors out on Macs:
If (exists wmi) then (string values of selects "Model from Win32_ComputerSystem" of wmi) else ("N/A")
But works fine with a small addition:
if (mac of operating system) then (machine name) else (if (exists wmi) then (string values of selects "Model from Win32_ComputerSystem" of wmi) else ("N/A"))
I’d like to add a section that tests for “unix of operating system” with an appropriate result, but I’ve scoured the Linux inspectors docs and can’t find what I need. Any hints? How about for the “Computer Manufacturer” part as well?
- John Straffin
Duke University