→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎12-13-2021 09:29 AM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tsysIPLocations.IPLocation,
tsysOS.OSname As OS,
tblAssetCustom.PurchaseDate,
tblAssetCustom.Warrantydate,
tblAssets.Lastseen,
tblAssetCustom.Serialnumber,
tblAssetComments.Comment,
tblAssetComments.Added
From tblAssets
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tsysIPLocations On tsysIPLocations.StartIP <= tblAssets.IPNumeric
And tsysIPLocations.EndIP >= tblAssets.IPNumeric
Left Join tblAssetComments On tblAssets.AssetID = tblAssetComments.AssetID
Where tblAssets.AssetName Like 'c%' And (tblAssetCustom.Manufacturer = 'IBM' Or
tblAssetCustom.Manufacturer = 'FUJITSU' Or tblAssetCustom.Manufacturer =
'Dell Inc.') And tblComputersystem.Domainrole > 1 And tblAssetCustom.State =
1 And tblComputersystem.SystemType Like 'x64%'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now