‎10-19-2015 02:57 PM
Solved! Go to Solution.
‎10-20-2015 10:17 AM
Select Top 1000000 tblCPlogoninfo.logontime,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Lastseen,
tsysOS.OSname,
tsysOS.Image As icon
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblCPlogoninfo On tblAssets.AssetID = tblCPlogoninfo.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblCPlogoninfo.logontime > GetDate() - 30 And tblAssetCustom.State = 1 And
tblCPlogoninfo.Username Like 'administrator ' And tblCPlogoninfo.Domain
Like tblAssets.AssetName
Order By tblCPlogoninfo.logontime Desc
‎10-20-2015 10:17 AM
Select Top 1000000 tblCPlogoninfo.logontime,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Lastseen,
tsysOS.OSname,
tsysOS.Image As icon
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblCPlogoninfo On tblAssets.AssetID = tblCPlogoninfo.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblCPlogoninfo.logontime > GetDate() - 30 And tblAssetCustom.State = 1 And
tblCPlogoninfo.Username Like 'administrator ' And tblCPlogoninfo.Domain
Like tblAssets.AssetName
Order By tblCPlogoninfo.logontime Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now