SCCM: How to find computer model in commandline


To retrive the Computer model from commandline use the following command:

wmic csproduct get name

This is usefull when you are making model specified driverpacks i System Center Configuration Manager task sequence.

there is several wmic commands that you can use, for example to retrive serial number use this:

wmic bios get serialnumber