‎09-15-2016 08:05 PM
‎09-15-2016 09:16 PM
‎09-15-2016 09:28 PM
mattgbarnes wrote:
Thanks, I tried that but you have to specify the software. I need a list of all software.
Select Top 1000000 T1.IPLocation,
T1.softwareName As Software,
T1.softwareVersion As Version,
Count(T1.IPLocation) As SoftwareCount
From (Select Top 1000000 (Case
When tsysIPLocations.IPLocation Is Not Null Then
tsysIPLocations.IPLocation Else 'Undefined' End) As IPLocation,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Left Join tsysIPLocations On tblAssets.IPNumeric >= tsysIPLocations.StartIP
And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblSoftware On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblAssetCustom.State = 1) T1
Group By T1.IPLocation,
T1.softwareName,
T1.softwareVersion
Order By T1.IPLocation,
Software,
Version
‎09-15-2016 09:14 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now