How to Get a Computer Model Name From a Command Prompt

Open a command prompt
type the following command:

wmic computersystem get model

Press ENTER

Example:
C:\WINDOWS\system32>wmic computersystem get model
Model
Latitude E7450