English Community

Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

I have already looked here: https://support.lenovo.com/us/en/solutions/ht104042. It has not been updated with Lenovo's newest models. Is there somewhere else I should be looking for the Recipe Cards? I did find the SCCM and PE drivers by using one of the serial numbers of one of the M90q gen 3 devices we just received, but just wanted to confirm the WMI query for the updated model.

 

Thanks,

Paul

0
0
Solution

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@tlawson  

The query needs to be ThinkCentre M90q Gen 3. Once I changed that, the query is working.

 

Thanks,

Paul

1
1

Was this solution helpful?

Your feedback helps us improve!
Replies

Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@FSMPAUL  

We are working on obtaining this and other new models of ThinkCentre to write the recipe cards.  Right now, the best way to obtain this information is to use one of the methods below.

To target by product friendly name (ex. ThinkCentre M920q), run the following line in a command prompt:

WMIC CSPRODUCT GET VERSION

The result from that query will be the data for the following targeting query:

SELECT * FROM Win32_ComputerSystemProduct WHERE Version = 'RESULT'

To target by product BIOS identifier (ex. M1MKT), run the following line in a command prompt:

WMIC BIOS GET SMBIOSBIOSVersion

The first 4 digits from the query result will be the data for the following targeting query:

SELECT * FROM Win32_BIOS WHERE SMBIOSBIOSVersion LIKE 'RESULT%'

To target by MTM (ex. 10VT), run the following line in a command prompt:

WMIC CSPRODUCT GET NAME

The first 4 digits from the query result will be the data for the following targeting query:

SELECT * FROM Win32_ComputerSystemProduct WHERE Name LIKE 'RESULT%'

We hope to have these recipe cards generated soon.

TLawson

 

1
1

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

Thank you. That is what I did. Thanks for letting me know. Wasn't sure something changed that I needed to know. I had some trouble with the PE ethernet driver or the network at the location of the imaging (not sure which is the problem) but the WMI query worked.
0
0

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

Hello @tlawson,

 

I am using your WMI code and it has broken my task sequence. I looked more carefully at my queries. My queries are as follows for example:

SELECT * FROM Win32_ComputerSystemProduct WHERE Version = 'ThinkCentre M90q'  

 

Based on your example, it should be:

SELECT * Win32_ComputerSystemProduct WHERE Version = 'ThinkCentre M90q'

 

Should it make a difference using the "* FROM Win32_".. instead of without the "FROM".

 

Thanks,

Paul

0
0

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@FSMPAUL  

I apologize, I missed the FROM in each statement.  I have gone back and edited the above post to correct the information.

Thank you for calling this to my attention.

TLawson

1
1

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@tlawson ,

SELECT * FROM Win32_ComputerSystemProduct WHERE Version = 'ThinkCentre M90q' WMI query is NOT working for the ThinkCentre M90q Gen 3. Do you have any suggestions?

 

Thanks,

Paul

0
0

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

In PowerShell, run this command

(gcim win32_computersystemproduct).version

This is the value that needs to be in your WQL query, replacing ThinkCentre M90q

0
0

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@FSMPAUL  

When you run either the command I provided or the powershell command Phil_Lenovo provided, what is the output?  Is it ThinkCentre M90q Gen 3 or is it ThinkCentre M90q?

TLawson

0
0
Solution

Re:Looking for WMI Query for ThinkCentre M90q Gen 3 for SCCM/MDT Deployment

@tlawson  

The query needs to be ThinkCentre M90q Gen 3. Once I changed that, the query is working.

 

Thanks,

Paul

1
1

Was this solution helpful?

Your feedback helps us improve!

Identify Your Device

OR

Don't want to provide your serial number? You can also Browse by product

Find your Device

Problem solved or need help? Click here.