Hey all Anyone know how I can tweak this to only show me the distinct PC's on the domain, the way I have it too many results come out, basically I want a custom report that shows
"Username - PC - LastLogon Time" on all PC's in the Domain, so I can see PC's that haven't been logged on in a bit and who was the last person that did
This is what I got but it gives me too many results
SELECT TOP (100) PERCENT dbo.tblcomputers.ComputerUnique, dbo.tblcomputers.Username, dbo.tblcomputers.Computername, dbo.tblCPlogoninfo.logontime
FROM dbo.tblcomputers INNER JOIN
dbo.tblCPlogoninfo ON dbo.tblcomputers.Computername = dbo.tblCPlogoninfo.Computername
ORDER BY dbo.tblcomputers.ComputerUnique
thx!