Skip to content

WQL query

Featured Replies

Hello,

 

I'm running the query below to pull all the Google Chrome versions installed on our workstations, however i'm getting duplicates results as some workstations have 2 file versions .

I was trying to filter the result by MAX SMS_G_System_SoftwareFile.ModifiedDate and Group by SMS_R_System.Nam, however the MAX function doesn`t work in WQL.

select distinct SMS_R_System.Name, SMS_G_System_SoftwareFile.FileVersion, SMS_G_System_SoftwareFile.ModifiedDate
 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 = "Chrome.exe"

Any idea how to display the max date ?

 

Thanks,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.