How to find a Computer product serial number using PowerShell?

Generally, Product serial numbers are available at the back of the laptop on the company sticker and we can use the Third-party or manufacturer software to find the Product details. The product serial number can also be found using the BIOS utility or command. We can either use the BIOS command for the cmd or using PowerShell.

To get the product serial number using PowerShell, we can use WMI or CIMInstance command. For example,

Example

Get-CimInstance Win32_BIOS

We can also use the WMI command. For example,

Example

Get-WmiObject Win32_BIOS

Output

SMBIOSBIOSVersion : F.13
Manufacturer      : AMI
Name              : F.13
SerialNumber      : HJJE244L
Version           : HPQOEM – 1072332

You can see the serial number in the above output. To retrieve only the serial number,

Get-WmiObject Win32_BIOS | Select SerialNumber

To find the product serial number using cmd we can use the below command.

wmic bios get serialnumber