→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Daniel_B
Lansweeper Alumni
Old name: Infrared: Available

The report below gives back a list of computers with Infrared interface

The report will only list assets that meet all of the following criteria:
  • The asset is set to the 'Active'
  • The asset is a Windows computer
  • The asset has been successfully scanned at least once
  • There is an infrared interface available


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tsysOS.OSname As OS,
tblAssets.SP,
tblAssets.Lastseen,
tblAssets.Lasttried,
case tblComputersystem.Infraredsupported when 1 then 'Yes' else 'No' end as Infraredsupported
From tblAssets
inner join tblComputersystem ON tblAssets.AssetID = tblComputersystem.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID = tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where (case tblComputersystem.Infraredsupported when 1 then 'Yes' else 'No' end) = 'Yes' And tblState.Statename = 'Active'
Order By tblAssets.Domain, tblAssets.AssetName
0 REPLIES 0