The MDT Environment variable Model on lenovo machines returns something like 4158WNE instead human readable string, let says “ThinkStation D20”.
For Dell Machines Model=Dell DXP061 which facilitates using the Model variable directly for DriverGroup
Fortunately we can do the same for Lenovo Models by retrieving Version from Win32_ComputerSystemProduct WMI Class.
Lets modify the ZTIGather.wsf file which generates the MDT variables.
Result, Now we have an extra MDT variable with the right string we want. 😉
Create the required Driver Folder structure
Add the following lines to CustomSettings.ini
Modified ZTIGather.wsf can be downloaded here.