Most of the time it is important to verify the model number of a machine when creating WMI query in SCCM OSD task sequence.
There are two main methods we can choose to use in WMI query to filter the model.
One is Model which will work for most of the vendors or hardware manufactures.
However if you are using Lenovo, I highly recommend to use the version query, as the model query will be different to the base model of the system. Read this for further information.
So the command line for computer model WMI query is;
WMIC computerproduct get model
Command line for computer model version WMI query is;
WMIC csproduct get version
There are two main methods we can choose to use in WMI query to filter the model.
One is Model which will work for most of the vendors or hardware manufactures.
However if you are using Lenovo, I highly recommend to use the version query, as the model query will be different to the base model of the system. Read this for further information.
So the command line for computer model WMI query is;
WMIC computerproduct get model
Command line for computer model version WMI query is;
WMIC csproduct get version
No comments:
Post a Comment