Summary: Use Windows PowerShell to show attached USB drives.
Is there an easy way with Windows PowerShell to show all drives that are connected via USB?
Use Get-WMIObject and query win32_diskdrive:
GET-WMIOBJECT win32_diskdrive | Where { $_.InterfaceType –eq ‘USB’ }
Or...
Write this as a query and pass it directly to WMI:
GET-WMIOBJECT –query “SELECT * from win32_diskdrive where InterfaceType = ‘USB’”