command to know laptop model name from command line code example Example: how to get model number of laptop using cmd WMIC CSPRODUCT GET NAME