PENDINGQuery SQL - SCCM

Rafael Moretto R Siva
2
0
1
Dear, I need help building a query, could you help me?

There is a need to create a query via SQL to present the product code (present in regedit) of a specific software, for example:
The requirement is the partial name of the software and the presentation, the full name of the application, product version and its product code must appear.

ps: only three columns
can someone help me. i need to create a query code to identify all software installed in computer collection.
i dont know where to query this code
Select Distinct
sys.Netbios_Name0,
sys.User_Domain0,
sys.User_Name0,
sys.AD_Site_Name0

FROM
v_R_System sys
JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID
WHERE
sys.ResourceID in (select sys.ResourceID
from
v_R_System sys
JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID
where
DisplayName0 like '%AppName%'
and Version0 like 'version')
and sys.Operating_System_Name_and0 like '%workstation%'

Forum statistics

Threads
5,823
Messages
22,691
Members
12,844
Latest member
Alfie_G_