get serial number in powershell code example Example: powershell get serial number get-ciminstance win32_bios | format-list serialnumber