Identify keyboard/mouse hardware info

(imported topic written by rmnetops91)

Does anyone have property syntax for retrieving the make/model of keyboard and mouse for a computer?

I didn’t want to re-create the wheel if something out there already existed.

(imported comment written by Bill.Ehardt)

Haven’t done it, but I’m assuming you can just select from win32_keyboard or win32_pointingdevice of WMI?

(imported comment written by rmnetops91)

That works. I used:

if (exists wmi) then (string values of selects “Caption from win32_keyboard” of wmi) else (“N/A”)


if (exists wmi) then (string values of selects “Caption from win32_pointingdevice” of wmi) else (“N/A”)