Last active
May 2, 2018 21:50
-
-
Save scotgabriel/e4e232b514f1390a66837c46e0740e04 to your computer and use it in GitHub Desktop.
Get Eventlog Entries from Forwarded Events log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Powershell to get last 2 collected entries from Forwarded Events log having ID of 4625 (failed logon) | |
get-winevent -filterhashtable @{logname = 'ForwardedEvents'; id = 4625} -maxevents 2 | format-table -wrap -autosize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment