This time I needed to get serial number of hp ProLiant DL380 server without taking the server out or even going next to that server so I find out that it’s pretty easy to get serial number of that server with a sort wmic command and some magic parameters.
Just open command prompt and say:
wmic /node:HOSTNAME bios get serialnumber
And you should get lines like:
SerialNumber ABC123DEFG456
And of course you can also do something like this:
wmic /node:%computername% bios get serialnumber
This same tip probably work most of ProLiant servers.
Thank you, using hostname did not work for me, instead I put localhost and it worked.
We got an error when we tried this. “The RPC server is unavailable.” Any idea what to do?
Very helpful ! Thanks for the tip !!!!!!!!!!!
an error comes “Invalid global switch”. then what to do?
got the same error. log on to the server and run “wmic /node:localhost bios get serialnumber” in a terminal window.
Thanks a bunch. Old post but still relevant as ever :)
Thank you so much, solved my problems……………
Hi,I log on to your new stuff named “How to retrieve serial number of proliant server « petrilopia.net” like every week.Your humoristic style is witty, keep up the good work! And you can look our website about
Boo hoo – I already used command wmic bios get serialnumber and all the above – this works for most servers, but with one particular server, the serial number returns ‘Serial Number’ and that’s it, it’s just blank. Any ideas?
Wicked. used the 1st one, no luck. Used the second one cmd (%) on my Gen8 worked a treeeeeeeeet..Thank you for your post.
Did you notice that you had to write the computer hostname instead the word HOSTNAME for the command?
What about the part number ? how can we get ?
Which part?
This also works using 127.0.0.1 as hostname
Excellent!!!!!! Thank you so much, solved my problems
Thanks Its Worked for me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This was very helpful, in return, I will point out that if you want the get the model name and number these two lines will get you there:
Rem Model name
wmic /node:%computername% computersystem get model
rem get model number
wmic /node:%computername% computersystem get oemstringarray
Thanks, working Super!!!!!!!!!!!!!!!!!!!!!!
WOW just what I was searching for.
thanxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ca marche
Superb! Saved me a long walk :)
That worked! Very helpful article this is! Thank you so much!