You can use WMIC to get information regarding your computer. You can call WMIC in different ways. Here are a couple of examples on how to retrieve the make, model and serial number.
Method one is to first enter the WMIC console. Do so by typing wmic at the command prompt. Once in WMIC you can typ the following commands.
To get Make
CSProduct Get Vendor
To get Model
CSProduct Get Name
To get Serial Number
CSProduct Get IdentifyingNumber
Another way of calling WMIC is dircetly from the command prompt. Replace HOSTNAME with the host you want to query. If you want to query the local machine you are on, just enter a . (dot).
To get Make
wmic /node:”HOSTNAME” CSProduct Get Vendor
To get Model
wmic /node:”HOSTNAME” CSProduct Get Name
To get Serial Number
wmic /node:”HOSTNAME” CSProduct Get IdentifyingNumber