Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Auto-deploy software to new computers

$
0
0

Hi,

I am trying to create a collection that will contain a list of new computers which does not have specific software installed. I found a few posts that say how to create a collection which lists all computers that do not have a software installed. The problem is, those queries are not displaying correct results.

For example, When I search for all computers that have Lync installed, i get very few results (20 out of 2000) which is wrong. Below is the query:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "Microsoft Lync 2010"

When I run the below query in SQL, I get >1900 which is close to accurate.

Select P.DisplayName0, P.Publisher0, P.Version0, s.Name0 From v_Add_Remove_Programs P Join v_R_System S on P.ResourceId = S.ResourceId Where p.DisplayName0 like '%Lync%'

What I'm trying to do:

1. I need to fix this so I get the accurate count of computers that have Lync installed.

2. I need to add a Not In to this to find out the computers that do not have Lync installed.

My aim is to make sure all new/old computers that don't have this software should get this advertisement.


Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>