Skip to content

Instantly share code, notes, and snippets.

@Saket-Upadhyay
Created May 27, 2022 14:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saket-Upadhyay/0260637b766c9c0bae881283cba9b1f7 to your computer and use it in GitHub Desktop.
Save Saket-Upadhyay/0260637b766c9c0bae881283cba9b1f7 to your computer and use it in GitHub Desktop.
Find Connected USB Serial Communication devices in Windows 10/11
$lptAndCom = '{4d36e978-e325–11ce-bfc1–08002be10318}'
get-wmiobject -Class win32_pnpentity | where ClassGuid -eq $lptAndCom | select name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment