Andy.S wrote:
This should give you a good starting point , this lists all machines with Adobe Reader but Missing Google Chrome
I have another puzzle for you. We have computers with Malwarebytes Anti-Exploit, Malwarebytes Anti-Ransomware and Malwarebytes Managed Client. We switched to using Malwarebytes Endpoint Agent. I tried using this with the following code:
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssets.Assettype,
tsysOS.OSname
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join (Select tblSoftwareUni.softwareName,
tblSoftware.AssetID,
tblSoftware.softwareVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where (tblSoftwareUni.softwareName Like 'Malwarebytes'' Managed Client' Or
tblSoftwareUni.softwareName Like '''Malwarebytes version' Or
tblSoftwareUni.softwareName Like 'Malwarebytes Anti%')) Query1
On Query1.AssetID = tblAssets.AssetID
Where tblAssets.AssetID Not In (Select Top 1000000 tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like 'Malwarebytes Endpoint Agent') And
tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName
And it does work... however its double/triple listing the same assets because if one computer has all three of that software then its listed three times haha.
How do I get it to only list the asset once if any of those three applications are found on it?