Tag: Remove hardware devices with Powershell
-
How to Remove Hidden Devices in Windows Device Manager
Quick Method: If running on a modern Windows 10, Windows 11, or Windows Server, check that PNPUTIL supports the /enum-devices and /remove-device command. I found that Windows Server 2019 did not support the /enum-devices and therefore did not have a /remove-device command. If it does, however, the following one liner should work. foreach ($dev in…