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

PowerTip: Find Latest Events in Windows Event Log

$
0
0

Summary: Learn how to quickly find the latest events in a Windows event log.

Hey, Scripting Guy! Question How can I use Windows PowerShell to look in the Application log to see the latest events?

Hey, Scripting Guy! Answer Use the Get-Eventlog cmdlet, specify the log name, and select newest events, for example:

Get-EventLog application -Newest 5


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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