June 18th, 2013

PowerTip: Use PowerShell to Check the Status of Event Logs

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to check the status of Windows event logs.

Hey, Scripting Guy! Question How can I easily check sizes, the number of entries, and the overflow action of all traditional event logs on my Windows system? 

Hey, Scripting Guy! Answer Use the Get-EventLog cmdlet with the –list switch:

Get-EventLog -List

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.