Skip to content

nilsauf/PSEnableDisableDevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Powershell Enable/Disable Device

A set of windows powershell scripts to enable/disable a device from device manager

Preparation

  1. List all devices by calling Get-PnpDevice in PowerShell
  2. Search the name of the device you want to enable / disable
  3. Replace all XXX in the files by the name of the device
  4. Use CreateShortcuts.ps1 to create two shortcuts on the desktop to enable and disable the choosen device

Usage Note

The scripts need to be started with admin rights

About

A windows batch script to enable/disable a device from device manager

Resources

Stars

Watchers

Forks

Contributors