Query Installed Devices

(imported topic written by Steve91)

Hi All,

I’ve created a retrieved property to return the presence of a RIB card on our servers.

I’ve had some good results with it but it doesn’t seem to be exact.

(exists active device whose (class of it = “Multifunction” AND description of it contains “Insight Lights” or description of it contains “iLO Management”))

Approx 10% of servers are returning FALSE when they actually do have a RIB installed.

This apepars to be because the device doesn’t appear under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class which i guess is where the “active device” property reports from.

On these servers it seems to appear under

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCI\VEN_8086&DEV_1960&SUBSYS_C0000E11&REV_05\3&267a616a&0&29

I don’t know if this key is consistent across the board, if it is I could just query it in addition to “active device”

If not, do you know if there is a 100% foolproof way to query the devices that appear under “device manager” ?

I guess I could use the wmi class Win32_PnPEntity but I’d prefer to keep wmi out of this.

Many thanks

Steve

(imported comment written by BenKus)

Hey Steve,

I think the wmi query is the best way to go because I don’t know of a better way to do it… Maybe try something like this?

exists string value whose (it contains “Multifunction” OR it contains “Insight Lights” OR it contains “iLO Management”) of selects “caption from Win32_PnPEntity” of wmi

Ben

(imported comment written by tazmir91)

I was able to pull iLO card existence via the above relevance (works great by the way), how can I get its configured ip address and defined users?. Thanks for the help