Dieser einfache Query erstellt eine Abfrage und zeigt Computer an mit einer geringeren Version als "Java Version 7 Update 25" .

 

View source
  1. 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
  2. SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on
  3. SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where
  4. SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like “%Java 7 Update%” and
  5. SMS_G_System_ADD_REMOVE_PROGRAMS.Version < “7.0.250”