Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command-line tool to dump all Device Properties displayed in Device Manager

In Device Manager, clicking on a specific device takes you to a dialog box, whose Details tab shows all sorts of properties of the device. Is there a command line tool to dump this out? I need to diff all the properties of two devices.

like image 297
user15071 Avatar asked Jul 19 '10 12:07

user15071


3 Answers

It seems to me that msinfo32 puts out all the information you could want including ports, IRQs, and addresses used.

try: msinfo32 /report msiout.txt

Note that the command prompt returns immediately, but msinfo runs in the background. You need to wait for the file to show up.

like image 161
trindflo Avatar answered Nov 15 '22 05:11

trindflo


msinfo32 has a number of command line switches you can use to dump the output to a file

like image 34
the_mandrill Avatar answered Nov 15 '22 05:11

the_mandrill


Devcon is one such tool. It is built by Microsoft, and is open source.

For eg. to Check status of all PCI devices on the system, on could use:-

devcon status pci*

Similarly, to check status of all devices :-

devcon status *

More information about the tool, and its usage is given in its documentation.

The source code can be found on github.

The utility gets installed with Windows SDK, Visual Studio, and WDK; see this.

On my machine the 64 bit version of the tool is located in C:\Program Files (x86)\Windows Kits\10\Tools\x64

like image 29
Sahil Singh Avatar answered Nov 15 '22 03:11

Sahil Singh