Powershell Script to Get Computer Information Using "wmic" Command (Serial Number, Manufacturer, Model, Network Printers): # Using wmic command to get. First a confession, I bought the “Learn Windows PowerShell 3 in a Month of Lunches” book quite a while ago but still haven't had the discipline. This post will show you how to find a serial number(S/N) of storage device including hard drive - HDD and SSD， as well as USB flash drive that is connected to a Windows PC. Number in Command Prompt; Option 2: Find Serial Number in PowerShell wmic diskdrive get Model, Name, InterfaceType, SerialNumber. System's serial number information is stored in WMI. The WMI class is Win32_Bios and there are different ways to query it. We are going to. I require assistance on a 'powershell' query to obtain the serial number of a USB attached device. I have used a freeware program, developed. AFAIK the SerialNumber is optional and provided by the driver. So if the USB- dock driver is not providing the information to Windows, then. Need to be able to retrieve serial number of USB hard drives and flash drives Powershell command of "get-disk | select serialnumber". Get-WmiObject -Class Win32_Volume | select Name, DeviceID, SerialNumber (note that DeviceID and SerialNumber are the same.). Open Windows Powershell with Administrative privilege Type $a = get-Disk - Number 4, after which $a will be a list contains all the properties of It will print all information about usb devices along with serial number also. In this edition of Ask the Admin, I'll show you how to use PowerShell to get the serial number of a local or remote computer from the computer.