Skip to content

Instantly share code, notes, and snippets.

@thebentern
Last active August 26, 2022 23:01
Show Gist options
  • Save thebentern/07d9c682176654cfe0c1 to your computer and use it in GitHub Desktop.
Save thebentern/07d9c682176654cfe0c1 to your computer and use it in GitHub Desktop.
List connected USB devices with powershell
gwmi Win32_USBControllerDevice |%{[wmi]($_.Dependent)} | Sort Manufacturer,Description,DeviceID | Ft -GroupBy Manufacturer Description,Service,DeviceID
@johnmorgan302
Copy link

Very nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment