Can you get an HP Product number using DOS?

Hi

Is there a way to get the PRODUCT NUMBER of an HP Server/Desktop by using DOS?

I have trawled several threads and the primary DOS commands listed only seem to bring up the serial number and model. I struggle with WMIC commands as I have limited scripting knowledge, not least how one would run this.

I know HP Part Surfer will provide PRODUCT NUMBER from serial number, but it would be nice to cut this loop out.

I am 99% sure a techy at an old workplace worked this out, but can't for the life of me remember how.
SummerhitsAsked:
Who is Participating?
 
sibisteanuConnect With a Mentor Commented:
wmic ComputerSystem
You get a lot of nonsense but 3/4 of the way down you will see "Product ID: xxxxxx-xxx".

To get the serial number and HP Model in DOS, use the command: wmic csproduct
the serial number will appear before the model.
0
 
TimAllanConnect With a Mentor Commented:
Use from the command prompt : wmic csproduct get/value
Same as above, just a bit neater.
0
 
esp-projectsCommented:
Hi,

If you are wanting to find these out for multiple machines on a network, spiceworks can help.  It's free and scans the network.  It can also provide you with the warranty info etc as well as loads of other features! www.spiceworks.com

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.