If you want to find out the computer model name and the serial number of your Windows PC, here is a simple way to do it using the command prompt.

Find out the local computer model name
First, open a command prompt and type in the following command to get the local computer model name.
wmic csproduct get name
Find out the computer serial number
Type in the following command to get the computer serial number:
wmic bios get serialnumber
Hope it works for you!
