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