Ever been in that place where you need to know that is the make and model of a server ? For documentation or planning purposes for example ?
You know, the time when you might have to work out what the power draw is of your hardware before moving into a hosted data center or know which spares to hold for physical servers ?
A quick way to get the make and model of the hardware is to run the command below:
wmic computersystem get Name, domain, Manufacturer, Model, NumberofProcessors, PrimaryOwnerName,Username, Roles, totalphysicalmemory /format:list