A set of windows powershell scripts to enable/disable a device from device manager
- List all devices by calling
Get-PnpDevice
in PowerShell - Search the name of the device you want to enable / disable
- Replace all
XXX
in the files by the name of the device - Use
CreateShortcuts.ps1
to create two shortcuts on the desktop to enable and disable the choosen device
The scripts need to be started with admin rights