I thought this how someone runs a report if let say I want to report machines that has the following software:
- Office 2010 Pro Plus and -Script Logic.
select sys.name0,(select distinct ' Microsoft Office Professional Plus
2010%' from v_Add_Remove_Programs ARP where (ARP.ResourceID=SYS.ResourceID) and exists (select ARP.DisplayName0 where ARP.DisplayName0='
Microsoft Office Professional Plus 2010%') ),(select distinct '
%SCRIPT%LOGIC%CO%' from v_Add_Remove_Programs ARP where (ARP.ResourceID=SYS.ResourceID) and exists (select ARP.DisplayName0 where ARP.DisplayName0='
%SCRIPT%LOGIC%CO%') )
from v_r_system sys inner join v_FullCollectionMembership on sys.ResourceID=v_FullCollectionMembership.ResourceID where
v_FullCollectionMembership.CollectionID= 'SMS00001'
With Prompt of:
select CollectionID,Name from v_Collection
This doesn't seem to work for me.
Basically I want to report any machines that have both of these software installed not one but both.
Thanks