‎05-09-2016 04:27 PM
Solved! Go to Solution.
‎06-01-2016 09:54 PM
Select Top 1000000 tblAssets.AssetName,
tblAssetCustom.AssetID As LanSweeperID,
tblAssets.AssetID,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As Icon,
Case When tsysOS.OSname Is Not Null Then tsysOS.OSname Else 'Not Scanned' End As OS,
tblAssets.Domain,
tblAssets.FQDN,
tblAssetCustom.Manufacturer As Manufacturer,
tblAssetCustom.Model,
tblADusers.Firstname,
tblADusers.Lastname,
tblADusers.Username,
tblADusers.Name,
tblADusers.Displayname,
tblAssetCustom.Location,
tblADusers.Office,
tblAssetCustom.Serialnumber,
tblAssetCustom.SystemSKU,
tblOperatingsystem.InstallDate,
tblAssetCustom.PurchaseDate,
tblAssetCustom.Warrantydate,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Scanserver,
tblAssets.IPAddress
From tblAssets
Left Outer Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Outer Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Outer Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Outer Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Left Outer Join tblADusers On tblAssets.Username = tblADusers.Username And
tblAssets.Username = tblADusers.Username And tblAssets.Userdomain =
tblADusers.Userdomain
Left Outer Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssets.Assettype = -1
Order By tblAssets.AssetName
‎06-01-2016 10:13 PM
‎06-01-2016 09:54 PM
Select Top 1000000 tblAssets.AssetName,
tblAssetCustom.AssetID As LanSweeperID,
tblAssets.AssetID,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As Icon,
Case When tsysOS.OSname Is Not Null Then tsysOS.OSname Else 'Not Scanned' End As OS,
tblAssets.Domain,
tblAssets.FQDN,
tblAssetCustom.Manufacturer As Manufacturer,
tblAssetCustom.Model,
tblADusers.Firstname,
tblADusers.Lastname,
tblADusers.Username,
tblADusers.Name,
tblADusers.Displayname,
tblAssetCustom.Location,
tblADusers.Office,
tblAssetCustom.Serialnumber,
tblAssetCustom.SystemSKU,
tblOperatingsystem.InstallDate,
tblAssetCustom.PurchaseDate,
tblAssetCustom.Warrantydate,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Scanserver,
tblAssets.IPAddress
From tblAssets
Left Outer Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Outer Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Outer Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Outer Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Left Outer Join tblADusers On tblAssets.Username = tblADusers.Username And
tblAssets.Username = tblADusers.Username And tblAssets.Userdomain =
tblADusers.Userdomain
Left Outer Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssets.Assettype = -1
Order By tblAssets.AssetName
‎06-01-2016 09:24 PM
‎06-01-2016 09:16 PM
‎06-01-2016 09:08 PM
‎06-01-2016 08:36 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Description,
tblAssets.LastActiveScan,
tsysOS.OSname
From tblAssets
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
‎06-01-2016 08:18 PM
‎06-01-2016 07:55 PM
‎06-01-2016 05:27 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now