‎02-24-2017 10:45 PM
‎02-28-2017 03:47 PM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tsysOS.OSname As [Operating System],
tblAssets.Domain,
tblAssets.IPAddress,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftwareUni.SoftwarePublisher,
Max(tblQuickFixEngineering.Lastchanged) As LastPatchDetected,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblADusers.OU
From tblAssets
Inner Join tblQuickFixEngineering On tblAssets.AssetID =
tblQuickFixEngineering.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblQuickFixEngineeringUni On tblQuickFixEngineeringUni.QFEID =
tblQuickFixEngineering.QFEID
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Left Join tblADusers On tblADusers.Username = tblAssets.Username
Where tblAssetCustom.State = 1
Group By tsysOS.Image,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tsysOS.OSname,
tblAssets.Domain,
tblAssets.IPAddress,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftwareUni.SoftwarePublisher,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblADusers.OU
Having (tblSoftwareUni.softwareName Like 'Trend Micro OfficeScan%') Or
(tblSoftwareUni.softwareName Like 'Pulse Secure 5.1%') Or
(tblSoftwareUni.softwareName Like 'Check Point Endpoint%')
Order By LastPatchDetected
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now