Direct Inward Dialing: +1 408 916 9892
IT administrators need to retrieve security events by type, filter it down by properties, and report findings. This enables them to stay on top of malicious activities, and ensure that Active Directory is running as expected.
This article compares how IT administrators can get the list of security event logs using PowerShell and ADAudit Plus.
get-eventlog security
This will give the list of all the security logs
get-eventlog security -newest 50
This will give the list of the 50 most recent security event logs.
get-eventlog security -newest 100 | where \{$_.entrytype -eq ` "FailureAudit"\}
This gives the 100 most recent security event logs pertaining to event failures.
Following are the limitations to obtain a report of last logon on workstations using native tools like Windows PowerShell:
ADAudit Plus will generate the reports of your choice when you need them. You can run these reports by navigating to the right area within the solution. With a few clicks, you can see all the security log-related information you need along with intuitive graphs and charts.