→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
04-20-2012 03:50 PM
Solved! Go to Solution.
04-23-2012 05:48 PM
Select tblComputers.Computername, tblComputers.Computer, tblComputers.Domain,
tblComputers.Username As [Last User], tblSoftware.softwareName As
[Software Name], tblSoftware.softwareVersion As [Software Version]
From tblComputers Inner Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName
Where tblSoftware.softwareName Like '%YourSoftware%'
Order By tblComputers.Domain, tblComputers.Computer, tblSoftware.softwareName,
tblSoftware.softwareVersion
09-18-2014 09:29 PM
09-15-2014 07:11 PM
Select Distinct Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblADusers.Displayname,
tsysIPLocations.IPLocation,
tblSoftwareUni.softwareName,
tblAssets.Lastseen,
tsysOS.OSname
From tblAssets
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Join tblADusers On tblADusers.Username = tblAssets.Username And
tblADusers.Userdomain = tblAssets.Userdomain
Where tblSoftwareUni.softwareName Like 'ACME Software'
Order By tsysIPLocations.IPLocation,
tblAssets.AssetName
09-11-2014 11:18 PM
Select Distinct Top 1000000 tblAssets.AssetName,
tsysIPLocations.IPLocation,
tblSoftwareUni.softwareName,
tblAssets.Lastseen,
tsysOS.OSname,
tblADusers.Displayname
From tblAssets
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblCPlogoninfo On tblAssets.AssetID = tblCPlogoninfo.AssetID
Inner Join tblADusers On tblCPlogoninfo.Username = tblADusers.Username
Where tblSoftwareUni.softwareName Like 'ACME Software'
Order By tsysIPLocations.IPLocation,
tblAssets.AssetName
04-23-2012 05:48 PM
Select tblComputers.Computername, tblComputers.Computer, tblComputers.Domain,
tblComputers.Username As [Last User], tblSoftware.softwareName As
[Software Name], tblSoftware.softwareVersion As [Software Version]
From tblComputers Inner Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName
Where tblSoftware.softwareName Like '%YourSoftware%'
Order By tblComputers.Domain, tblComputers.Computer, tblSoftware.softwareName,
tblSoftware.softwareVersion
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now