I made a version of this that only includes computers with the name of your choice, I'm gonna use it for computer rooms that should have the software installed.
We have a lot of different rooms, to add more just add additional rows of:
Or tblAssets.AssetName Like '%COMPUTERNAME%'
before the )
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
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssets.AssetID Not In (Select Top 1000000 tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%Name of Software%') And
(tblAssets.AssetName Like '%COMPUTERNAME1%' Or tblAssets.AssetName Like '%COMPUTERNAME2%')
And tblAssetCustom.State = 1 And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName