‎03-07-2017 11:50 PM
Solved! Go to Solution.
‎03-08-2017 02:09 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblOperatingsystem.Caption,
tblAssets.IPAddress,
tsysAssetTypes.AssetTypename as [Asset Type],
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Domain,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblProcessor.Caption As [Processor Model],
tblProcessor.Name As [Processor Name],
cast(tblAssets.Memory as varchar) +' Mb' as [Memory],
Cast(Cast(tblFloppy.Size As bigint) / 1024 / 1024 / 1024 As varchar) + ' Gb' As [HDD Size],
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
inner join tblFloppy on tblAssets.AssetID = tblFloppy.AssetID
inner join tblOperatingsystem on tblAssets.AssetID = tblOperatingsystem.AssetID
Where tsysAssetTypes.AssetTypename = 'Windows' And tblAssetCustom.State = 1 and tblAssets.IPAddress like '%192.168.1.%'
‎03-08-2017 02:09 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblOperatingsystem.Caption,
tblAssets.IPAddress,
tsysAssetTypes.AssetTypename as [Asset Type],
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Domain,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblProcessor.Caption As [Processor Model],
tblProcessor.Name As [Processor Name],
cast(tblAssets.Memory as varchar) +' Mb' as [Memory],
Cast(Cast(tblFloppy.Size As bigint) / 1024 / 1024 / 1024 As varchar) + ' Gb' As [HDD Size],
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
inner join tblFloppy on tblAssets.AssetID = tblFloppy.AssetID
inner join tblOperatingsystem on tblAssets.AssetID = tblOperatingsystem.AssetID
Where tsysAssetTypes.AssetTypename = 'Windows' And tblAssetCustom.State = 1 and tblAssets.IPAddress like '%192.168.1.%'
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now