Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I scan for hardware changes in Windows using the command line? I'm looking for the same functionality as right-click "Scan for Hardware Changes" in the Device Manager.
Get a copy of Microsoft's devcon utility. Then use the following to scan for new hardware:
Required, but never shown