Hi,
I need a collection that contains only computers without .NET Framework 4.5 AND have Windows 7 with SP1 installed. I took a stab at it and it looked pretty good initially but the collection count never goes down as computers get .NET Framework 4.5 installed. I examined several computers in the collection and found that close to half of them in the collection already have .NET Framework 4.5 installed so obviously my query is flawed. Here is what I have that doesn't seem to be working as intended:
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 inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "Microsoft .NET Framework 4.5" and SMS_G_System_OPERATING_SYSTEM.BuildNumber = "7601"
I tried 'is not equal to' for .NET Framework 4.5 but I am getting the same count. I'm sure there will be computers with .NET Framework 4.5 installed that are in the collection but should not be. This collection should include 32 and 64-bit Windows 7 SP1 computers that do not have .NET Framework 4.5 installed.
Thanks for your help!
Rob Moorhead