I have created a report that shows me all pc's that have one of the three particular AV packages we have used throughout the years. What I am trying to create is a report that shows me any pc's that do not have any of the three installed. This is the SQL code for the report that shows me all the pc's that do have AV installed.
SELECT
tblSoftware.ComputerName,
tblComputers.LastknownIP,
tblSoftware.softwareVersion,
tblSoftware.softwareName
FROM
tblComputers
INNER JOIN tblSoftware ON (tblComputers.Computername = tblSoftware.ComputerName)
WHERE
tblSoftware.softwareName = 'Norton Antivirus Corporate Edition' OR
tblSoftware.softwareName = 'Symantec Endpoint Protection' OR
tblSoftware.softwareName = 'Symantec Antivirus'
Basically I want the inverse of this report, I need a report that shows all pc's and their ip addresses that have none of the three packages installed. My problem seems to be no matter what combination I change I end up getting a report showing every pc in our domain and not just the ones that have none of the above installed.
Thanks for any help and we really enjoy the product, it has been a lifesaver as far as documentating what is installed in our network of 5,000 pc's.