SCCM 2012 – Query to determine Outlook Version

This is a short one:
If you would like to know, if there exists machine, with a specific missing Service pack for Office, just use this query:

select SMS_R_System.Name, SMS_R_System.LastLogonUserName, SMS_G_System_SoftwareFile.FileName, SMS_G_System_SoftwareFile.FileVersion, SMS_G_System_SoftwareFile.FilePath from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "outlook.exe" and SMS_G_System_SoftwareFile.FileVersion > "15" and SMS_G_System_SoftwareFile.FileVersion < "15.0.4569.1503" order by SMS_R_System.Name
That this query will work, you will need to have the Software inventory enabled, but mostly you will have it already. This query is to get all Outlook 2013 Installation missing SP1. You can Change the Version numbers as needed, and also the executables Name, if you want to check for Word (WinWord.exe).
query01

Hope this helps,
Martin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.