cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
skyeduba
Engaged Sweeper
Hi Everyone

I am trying to generate write a query for workstations without antivirus(carbon black). I don't want any servers just computers in my report, can you please help me with this ?

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 '%cb Defense%') And
tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName
1 REPLY 1
Esben_D
Lansweeper Employee
Lansweeper Employee
This is what you need 😉 https://www.lansweeper.com/forum/yaf_postst11596_Limiting-a-Windows-report-to-servers.aspx