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