Sunday, May 18, 2014

Count Number Of Machines With Specified Application Installed

SQL  :
Select Distinct

Count(SoftwareFile.FileName) as 'Total Count:'

From System_Disc

Join vSms_G_System_SoftwareFile as SoftwareFile

On SoftwareFile.ClientId = System_Disc.ItemKey

Where SoftwareFile.FileName = 'WinWord.Exe'

And SoftwareFile.FileVersion = '14'

1 comment: