Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Query to create a collection for specific Lenovo models

  • Thread starter Thread starter pwellm
  • Start date Start date
  • Replies Replies 1
  • Views Views 5K

pwellm

New Member
Messages
1
Reaction score
0
Points
1
I'm trying to create individual collections for specific Lenovo models that we have on our domain. So far, I am only able to create one that populates for ThinkCenter M710q's, the rest just return 0 results. This is what I have for that:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM_PRODUCT on SMS_G_System_COMPUTER_SYSTEM_PRODUCT.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM_PRODUCT.Version = 'ThinkCentre M710q'

I try replacing the model name at the end with different types but no luck there. Any advice on what do to differently for something such as a Thinkpad T14, Carbon X1, etc. ? Thanks!
 
Solution
Did you confirm that the version lists the other models? Are you 100% sure? Have you used the wizard to select the model name?
Did you confirm that the version lists the other models? Are you 100% sure? Have you used the wizard to select the model name?
 
Solution
Back
Top