Summary: Use Windows PowerShell to find the most recent event log entry.
How can I use Windows PowerShell to see the most recent event log entry from my application log?
Use the Get-EventLog cmdlet and select the application log and the Newest 1 entry:
Get-EventLog application -Newest 1
0 comments