A simple way to find the computer model name or computer serial number using the following commands:
Open a command prompt and type in the following command to get the local computer model name.
wmic csproduct get name

Type in the following command to get the computer serial number:
wmic bios get serialnumber
If you have liked this post, you might want to check out some more, on topics like CMD, Command Line, Tips.