check laptop model in windows code example Example: how to get model number of laptop using cmd WMIC CSPRODUCT GET NAME