→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎01-10-2020 09:51 PM
‎02-05-2020 04:05 PM
SELECT TOP 1000000 tsysOS.Image AS icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
Coalesce(tsysOS.OSname, tblMacOSInfo.SystemVersion, tblLinuxSystem.OSRelease) As OS,
tblAssets.SP AS SP,
tblAssetCustom.Model,
tblAssets.Lastseen,
tblAssetCustom.Manufacturer,
tblAssetCustom.Serialnumber
FROM tblAssets
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
LEFT JOIN tblMacOSInfo ON tblAssets.AssetID = tblMacOSInfo.AssetID
LEFT JOIN tblLinuxSystem ON tblAssets.AssetID = tblLinuxSystem.AssetID
WHERE tblAssets.IPAddress LIKE '10.89.8.%'
AND tblAssetCustom.State = 1
ORDER BY tblAssets.AssetName;
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now