How to get a detailed Look at Windows Errors Using Powershell

Steel Contributor

Go to search and type in Powershell.  Once you see it make sure you select Run As Administrator.

Now to see a complete detailed list of Errors simply copy the code below and Paste into Powershell.

 

Get-WinEvent -FilterHashTable @{LogName = "Application", "System"; Level=1,2; StartTime=((Get-Date).AddDays(-7))} | Out-GridView

 

You will now get a detailed list of your Windows Errors with Description of the errors. Example Below..

 

2024-03-17 (1).png

 

This should help you better isolate what is causing your errors or at least enable you to better describe what is causing the problem for others to help you isolate and fix your problem.

0 Replies