‎09-25-2015 07:26 PM
Solved! Go to Solution.
‎09-28-2015 01:25 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssetCustom.Warrantydate,
tblAssetCustom.PurchaseDate
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Where ((tsysAssetTypes.AssetTypename = 'windows' And
tblComputersystem.Domainrole > 1) Or tsysAssetTypes.AssetTypename In
('Linux', 'Unix', 'VMware server')) And tblAssetCustom.State = 1 And
tblAssetCustom.Model Not Like '%virtual%' And tblAssetCustom.Serialnumber Not
Like '%virtual%'
Order By tblAssets.AssetName
‎09-28-2015 01:25 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssetCustom.Warrantydate,
tblAssetCustom.PurchaseDate
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Where ((tsysAssetTypes.AssetTypename = 'windows' And
tblComputersystem.Domainrole > 1) Or tsysAssetTypes.AssetTypename In
('Linux', 'Unix', 'VMware server')) And tblAssetCustom.State = 1 And
tblAssetCustom.Model Not Like '%virtual%' And tblAssetCustom.Serialnumber Not
Like '%virtual%'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now