Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Disable plug and play device with PowerShell

$
0
0

Summary: Learn how to disable a plug and play device with Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to disable a plug and play device?

Hey, Scripting Guy! Answer Use the Disable-PNPDevice cmdlet and specify the instance ID, for example:

Disable-PnpDevice -InstanceID  ‘USB\VID_5986&;PID_0266&;MI_00\7&;1E5D3568&;0000′


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>