Hi there,
I am using Garth's query to query for a specific software installed for both x86 and x64. I would like to show as new columns software name and version. I have added these 2 fields in the general tab but I don't get the results that I am looking for. How could I show these fields in every register returned?
This is the query:
select SMS_R_System.ResourceId, SMS_R_System.Name, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName, SMS_G_System_OPERATING_SYSTEM.Caption, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID = SMS_R_System.ResourceId where SMS_R_System.ResourceId in (select SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID
from SMS_G_System_ADD_REMOVE_PROGRAMS where
SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%vlc%") or SMS_R_System.ResourceId in (select SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID from
SMS_G_System_ADD_REMOVE_PROGRAMS_64 where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName like "%vlc%")
Thanks in advance
Gustavo
I am using Garth's query to query for a specific software installed for both x86 and x64. I would like to show as new columns software name and version. I have added these 2 fields in the general tab but I don't get the results that I am looking for. How could I show these fields in every register returned?
This is the query:
select SMS_R_System.ResourceId, SMS_R_System.Name, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName, SMS_G_System_OPERATING_SYSTEM.Caption, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID = SMS_R_System.ResourceId where SMS_R_System.ResourceId in (select SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID
from SMS_G_System_ADD_REMOVE_PROGRAMS where
SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%vlc%") or SMS_R_System.ResourceId in (select SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID from
SMS_G_System_ADD_REMOVE_PROGRAMS_64 where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName like "%vlc%")
Thanks in advance
Gustavo