I'm trying to create a report that will list all PC's that don't have our standard antivirus software (webroot) or Windows Defender on them.
My report works for PC's that don't have Webroot, but won't work when I try to add Windows Defender. Any suggestions?
Select Top 1000000 tblAssets.AssetID,
tblAssets.IPAddress,
tblAssets.AssetUnique,
tblAssets.Username,
tsysOS.Image As icon,
tblAntivirus.DisplayName,
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Inner Join tblAntivirus On tblAssets.AssetID = tblAntivirus.AssetID
Where (Not tblAntivirus.DisplayName = 'Webroot SecureAnywhere' Or
tblAntivirus.DisplayName = 'Windows Defender')
Order By tblAssets.AssetName