‎02-20-2012 03:40 PM
‎02-20-2012 03:55 PM
Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblComputersystem.Domainrole, tblntlogevent.Eventcode,
tblntlogevent.Eventtype, tblntlogevent.Logfile, tblntlogevent.Message,
tblntlogevent.Sourcename, tblntlogevent.TimeGenerated, tblntlogevent.[User]
From tblComputers Inner Join
tblComputersystem On tblComputers.Computername =
tblComputersystem.Computername Inner Join
tblntlogevent On tblComputers.Computername = tblntlogevent.Computername
Where tblComputersystem.Domainrole > 1 And tblntlogevent.Eventtype = '1' And
tblntlogevent.TimeGenerated > GetDate() - 1
Order By tblntlogevent.TimeGenerated Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now