In the intricate world of Windows operating systems, the connection between a user and their hardware is rarely as simple as plugging in a cable. Beneath the graphical user interface lies a vast, hierarchical database known as the Windows Registry. For IT professionals, digital forensics experts, and power users, specific registry keys serve as digital fingerprints.
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\ Under this key, you’ll find subkeys named after the device ID.
Get-CimInstance Win32_USBHub | Where-Object $_.Name -like "*Kingston*" | Select-Object -ExpandProperty DeviceID