Jump to content

Recommended Posts

Guest DouglasWilliams6
Posted

Hello! I have a weird issue, for security reasons we need to retrieve the serial number of a USB device when it's plugged in and put it on an allow list ( using get-pnpdevice -Class 'USB' | foreach-object {$_.InstanceID}). Most USB drives return a 6-10 digit numerical string, that's consistent across all devices. However some devices return an odd string with special characters, and it seems to be randomly generated from the Windows USB driver-pack. An example of output that I see is here USB\VID_058F&PID_1234\5&2C4DCD65&0&9 (I only care about the last chunk of this output beg

 

Continue reading...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...