How do I view a list of devices from the command line in Windows

I want to use the Windows command line to enumerate through devices connected to a computer and return information.

How can I accomplish this?

1 Answer

You do this by using the devcon.exe utility.

It ships with Windows Driver Kit. Select just the Tools in the installation wizard if you do not need the rest of the kit.

Refer to The DevCon command-line utility functions as an alternative to Device Manager for specific commands. I imagine you would start with something like

devcon find *

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like