→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mdouglas
Engaged Sweeper III
Here's a quick report that will show you a list of PCs that do not have a particular piece of software installed on them. Simply replace '%Adobe Flash Player %' with whatever software you are looking for.
Select Distinct Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique From tblSoftware soft Inner Join tblComputers On soft.ComputerName = tblComputers.Computername Where (Select Count(*) From tblSoftware Where tblSoftware.softwareName Like '%Adobe Flash Player %' And tblSoftware.ComputerName = soft.ComputerName) < 1

If you are looking for something like Adobe Reader/Acrobat and need to check for multiple entries, the following can be used as well:
Select Distinct Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique From tblSoftware soft Inner Join tblComputers On soft.ComputerName = tblComputers.Computername Where (Select Count(*) From tblSoftware Where (tblSoftware.softwareName Like '%Adobe Acrobat%' Or tblSoftware.softwareName Like '%Adobe Reader%') And tblSoftware.ComputerName = soft.ComputerName) < 1
1 ACCEPTED SOLUTION
Hemoco
Lansweeper Alumni
Something similar to the report below will work as well. (You do not really need to perform a count.)

Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique, tblComputers.Domain From tblComputers Where tblComputers.Computername Not In (Select tblSoftware.ComputerName From tblSoftware Where tblSoftware.softwareName Like '%YourSoftware%') Order By tblComputers.Computername

View solution in original post

1 REPLY 1
Hemoco
Lansweeper Alumni
Something similar to the report below will work as well. (You do not really need to perform a count.)

Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique, tblComputers.Domain From tblComputers Where tblComputers.Computername Not In (Select tblSoftware.ComputerName From tblSoftware Where tblSoftware.softwareName Like '%YourSoftware%') Order By tblComputers.Computername