‎02-24-2012 06:02 PM
Solved! Go to Solution.
‎02-27-2012 06:28 PM
Select Top 1000000 tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model, Count(tblCPlogoninfo.Computername) As Total From tblComputers Inner Join tblCPlogoninfo On tblComputers.Computername = tblCPlogoninfo.Computername Inner Join tblComputersystem On tblComputers.Computername = tblComputersystem.Computername Where tblCPlogoninfo.logontime > GetDate() - 7 Group By tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model Order By Count(tblCPlogoninfo.Computername) Desc
‎02-27-2012 06:28 PM
Select Top 1000000 tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model, Count(tblCPlogoninfo.Computername) As Total From tblComputers Inner Join tblCPlogoninfo On tblComputers.Computername = tblCPlogoninfo.Computername Inner Join tblComputersystem On tblComputers.Computername = tblComputersystem.Computername Where tblCPlogoninfo.logontime > GetDate() - 7 Group By tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model Order By Count(tblCPlogoninfo.Computername) Desc
‎02-27-2012 07:16 PM
Lansweeper wrote:
Please try the report below. It returns a count per computer of the number of logons in the last 7 days.Select Top 1000000 tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model, Count(tblCPlogoninfo.Computername) As Total From tblComputers Inner Join tblCPlogoninfo On tblComputers.Computername = tblCPlogoninfo.Computername Inner Join tblComputersystem On tblComputers.Computername = tblComputersystem.Computername Where tblCPlogoninfo.logontime > GetDate() - 7 Group By tblComputers.ComputerUnique, tblComputersystem.Manufacturer, tblComputersystem.Model Order By Count(tblCPlogoninfo.Computername) Desc
‎02-27-2012 12:46 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now