Find Model Number & Serial Number Of PC From Command Line

Here is a very simple script to return model and serial number information for your computer.

To retrieve serial number of the computer run the following command from command line

wmic bios get serialnumber

To retrieve model name of the computer run the following command from command line

wmic csproduct get name

This code doesn’t return information for all computers, but I’ve found it very usefull where its available.

Looking for an iPhone app? I can build it… get in touch 0844 833 0700 or rob@reactivapps.co.uk

About these ads
Find Model Number & Serial Number Of PC From Command Line

17 thoughts on “Find Model Number & Serial Number Of PC From Command Line

  1. if i could throw in my 2 cents. wmic bios get seialnumber does work great on alot of machines. For a more universal command for every machine try ‘wmic systemenclosure get serialnumber’.

  2. Sameh Ramses says:

    open the command windows using the windows key + R ( then type CMD ) then type this command ( wmic bios get serialnumbe ) and ( wmic csproduct get name )

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s