Target an advertisement based on the software version in SCCM
Let’s say we want to advertise an update to Adobe Reader only to clients with outdated versions (anything older than 10.0.1).
- Create a new collection.
- Edit the membership rules.
- Click on Edit Query Statement.
- At the bottom press “Show Query Language”.
- Paste the following:
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 like "Adobe Reader %" and SMS_G_System_ADD_REMOVE_PROGRAMS.Version != "10.0.1"
Make edits to match the DisplayName and Version according to the results you want.
You’re good to go.