WQL query is not working

SergiEE 140 Reputation points
2023-03-17T08:59:32.5233333+00:00

Morning all!!
I have a collection with this WQL :
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_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName like "%Citrix Work%" and SMS_G_System_INSTALLED_SOFTWARE.ProductVersion like "23.2%"

All of device's is not going inside the collection and i don't know why...
The device's have correct hardware inventory:

User's image

The device is in limited collection but is not going in this WQL query..

TIA!

Microsoft Security | Intune | Configuration Manager | Other
Microsoft System Center | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 22,231 Reputation points
    2023-03-20T09:28:32.8+00:00

    Hi,

    Please try to use the WMI class SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName.

    How to query for installed software/version ?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.