→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
08-22-2017 03:18 PM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblNetwork.MACaddress,
tblNetwork.Description
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssetCustom.State = 1 And tblNetwork.IPEnabled = 1
Order By tblAssets.AssetName
08-23-2017 10:56 AM
08-23-2017 08:57 AM
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.IPAddress,
tblAssets.Mac,
Case
When tsysAssetTypes.AssetTypename = 'Windows' Then
SubString(tblOperatingsystem.Caption, CharIndex(' ',
tblOperatingsystem.Caption, 1), Len(tblOperatingsystem.Caption))
Else tsysAssetTypes.AssetTypename End As System
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Left Join tblOperatingsystem On tblAssets.AssetID = tblOperatingsystem.AssetID
Where tblAssets.IPAddress Is Not Null And tsysAssetTypes.AssetType != 208 And
tblState.State = 1
Order By tblAssets.IPAddress Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now