How to retrieve serial number of proliant server

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: