GetWMIValue

GetWMIValue <variable> <parameter name> <query>

Parametrs

variableName of the variable that will receive the value.
parameter nameName that identify the parameter in a class. You can find their names in MSDN.
queryQuery for parameter retreival.

Example

Retreive processor name:

GetWMIValue VAR Name "SELECT * FROM Win32_Processor"