Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Most Recent Event Log Entry

$
0
0

Summary: Use Windows PowerShell to find the most recent event log entry.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see the most recent event log entry from my application log?

Hey, Scripting Guy! Answer Use the Get-EventLog cmdlet and select the application log and the Newest 1 entry:

Get-EventLog application -Newest 1


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>