Get device serial number with PowerShell
27. May 2015
PowerShell Version: >2
Modules: none
This will print the serial number of your device:
(gwmi win32_bios | select SerialNumber).serialNumber
or
gwmi win32_bios | Select –ExpandProperty SerialNumber