i see vcollection but cant get anywhere with getting it tied in.. what im trying to do is something like as follows...
create a collection off of sql
select Guid from vResource where ResourceTypeGuid in (select ResourceTypeGuid from ResourceTypeHierarchy where BaseResourceTypeGuid='493435f7-3b17-4c4c-b07f-c23e7ab7781f')
and guid in
((Select t1.[Guid]
From vcollection t1
Where t1.name in('All Windows Workstations'))
and t0.guid in
(Select t0.[_ResourceGuid]
From [inv_aex_os_add_remove_programs] t0
Where t0.[name] LIKE 'McAfee VirusScan%' and t0.[version] like '8.7.%' or t0.[version] like '8.8.%'))
if i run them individually it all works... each select from where statements...