|
jnelson993 -> RE: Add/Remove Programs dump for all computers in a collection (10/9/2008 2:45:21 PM)
|
One little caveat, that view is for 32-bit machines only. If you have any x64 machines, they won't be represented by that view...that's why the dbo.v_Add_Remove_Programs view is handy. So perhaps, just do this to get the 32-bit AND 64-bit data together SELECT arp.ProdID0, arp.DisplayName0, arp.Version0 FROM dbo.v_GS_Add_Remove_Programs ARP WHERE arp.resourceID IN (SELECT ResourceID FROM dbo.v_FullCollectionMembership WHERE CollectionID = @CollectionID) UNION SELECT arp.prodID0, arp.DisplayName0, arp.Version0 FROM dbo.v_GS_Add_Remove_Programs_64 arp WHERE arp.resourceID IN (SELECT ResourceID FROM dbo.v_FullCollectionMembership WHERE CollectionID = @CollectionID) ORDER BY DisplayName0
|
|
|
|