Hello,
I'm in the process of updating over 2,000 workstations from OCS 2007 R2 client to Microsoft Lync 2010 client. The initial push was a voluntary install of the new client. So, now we are taked to determine which workstations are missing the Lync 2010 client and to proceed pushing out the Lync client to these workstations.
In order to accomplish this I created a new collection based on the following 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_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name not in (select distinct SMS_G_System_COMPUTER_SYSTEM.Name from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId 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 like "Microsoft Lync 2010")
The problem I have is that collection is populating with workstations that actually have Lync already installed. I'm not a SQL expert by any means. I'm I missing something?
Any help would be greatly appreciated.
Thanks.