Attempting to query disk names in device manager

(imported topic written by jdaly)

I am trying to write some relevance expressions based off of the names of disk drives that appear under device manager as in the examples below.

http://imgur.com/hyRkhSC

http://imgur.com/aiI1ri6

This information is also available under the disk management console as the Friendly Name attribute.

http://imgur.com/IXWCwGJ

I believe this will need to be a wmi query unless bigfix has some way of looking at the disks themselves and checking for the name as it appears in device manager or friendly name as in disk management.

any help is greatly appreciated.

(imported comment written by Techadmin)

jdaly, the below codes should help you out.

string values of selects “Model from Win32_DiskDrive” of wmi

or

string values of selects “caption from Win32_DiskDrive” of wmi

the above one’s work only with windows.

(imported comment written by jgstew)

I don’t think the answer you are looking for is in these analyses, but they are related and worth looking at:

Hard Drive Audit - Universal
http://bigfix.me/analysis/details/2994572

Hard Drive Audit - Windows
http://bigfix.me/analysis/details/2994609