‎02-04-2018 10:01 PM
‎02-06-2018 01:25 AM
‎02-06-2018 12:06 AM
Select Top 1000000
tsysOS.OSname As OS,
tsysIPLocations.IPLocation,
count (tblassets.assetid) as Installs
From tblAssets
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tsysIPLocations On tblAssets.LocationID = tsysIPLocations.LocationID
Where tblAssetCustom.State = 1 and (tsysos.OSname like '%win%7%' or tsysos.OSname like '%win%10%')
group by iplocation, tsysOS.OSname
‎02-05-2018 06:25 PM
‎02-05-2018 05:45 PM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tsysOS.OSname As OS,
tblOperatingsystem.Caption,
tblAssets.SP As SP,
tblAssets.Domain,
tblAssets.IPAddress,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Location,
tsysIPLocations.IPLocation,
tblAssets.Firstseen,
tblAssets.Lastseen
From tblAssets
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tsysIPLocations On tblAssets.LocationID = tsysIPLocations.LocationID
Where tblAssetCustom.State = 1 and (tsysos.OSname like '%win%7%' or tsysos.OSname like '%win%10%')
Order By OS,
tblAssets.AssetName,
tblOperatingsystem.Caption
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now