S
S
sound9012019-09-18 17:58:01
Iron
sound901, 2019-09-18 17:58:01

How to get the name and serial number of the peripheral?

Can I somehow get information about the mouse, keyboard, monitor via cmd / powershell, namely: manufacturer, model and serial number?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Kharchenko, 2019-09-18
@AVX

Can. More specifically, I can only tell you about monitors: there are two ways - by EDID (in the registry), and by Get-WmiObject WMIMonitorID -Namespace root \ wmi (for powershell v2 there is a code here: https://social.technet.microsoft.com/Forums /script... ), for v1 it doesn't quite work, you need to change it a bit.
The problem is that in winxp it is possible by EDID and for everyone, up to win10. In win10, the Control sub-branch was removed in the registry, by the presence of which you can determine the active (now connected) monitor, and you can only use WMIMonitorID, and in winxp there is no WMIMonitorID at all - so only by EDID.
You can google the specifics. All this can be done both remotely and locally.
I didn’t try about mice-claves, there was no need, but in the same WMI there is a lot of information, I think it will be about them. And through what to get - through powershell or the gwmi utility, or there is also devid (if I didn’t make a mistake in writing) - this is the device manager, only the console version, locally and with admin rights - you can see anything (I’m not sure about the serial numbers, perhaps there are no such opportunities there, but they seem to be USB HID and they are not shown, correct if not so).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question