‎04-03-2017 09:11 AM
Solved! Go to Solution.
‎05-08-2017 09:57 AM
‎05-08-2017 02:38 PM
‎05-08-2017 09:57 AM
‎05-08-2017 09:40 AM
‎05-05-2017 09:54 PM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tsysOS.OSname As OS,
tblOperatingsystem.Caption,
tblOperatingsystem.Version,
tblAssets.SP As SP,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
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 tblOperatingsystem.Version Like '10.0.15063'
Order By OS,
tblAssets.AssetName,
tblOperatingsystem.Caption
‎05-05-2017 04:57 PM
‎04-07-2017 01:20 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tsysOS.OSname,
tsysOS.OScode,
tblRegistry.Value
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Where (tsysOS.OSname = 'Win 10' Or tsysOS.OSname = 'Win 2016') And
tblRegistry.Valuename = 'UBR' And tblAssetCustom.State = 1
‎04-07-2017 09:51 AM
‎04-03-2017 11:53 AM
Select Top 1000000 tsysOS.OScode,
tsysOS.OSname,
Count(tblAssets.AssetID) As Amount
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssetCustom.State = 1 And (tsysOS.OSname = 'Win 10' Or
tsysOS.OSname = 'Win 2016')
Group By tsysOS.OScode,
tsysOS.OSname
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tsysOS.OScode,
tsysOS.OSname
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where (tsysOS.OSname = 'Win 10' Or tsysOS.OSname = 'Win 2016') And tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now