Direct Inward Dialing: +1 408 916 9892
Written by Lakshmi, IT security team, ManageEngine Updated on November 2025
A system administrator would need to track users' last logon date and time to identify stale accounts, if any, in the organization's Active Directory. On remote computers, it is imperative to check for unauthorized logons to protect the network from potential cyberthreats.
Get-WinEvent -Computer $serverName -FilterHashtable @{Logname='Security';ID=4672} -MaxEvents 1 | Select @{N='User';E={$_.Properties[1].Value}},TimeCreated
Screenshot:
Following are the limitations to obtain a report of the last logged on AD users on remote computers using native tools like Windows PowerShell:
ADAudit Plus will generate the report to retrieve the users that last logged on remotely, displayed on a simple and intuitively designed UI.