How to export Event Viewer data to Excel with PowerShell

Hi everyone

Today I will give a tip on how to export event viewer data to Excel with PowerShell

– First log into your machine

– Open a PowerShell’s console

– Run

Get-EventLog -LogName Security -ErrorAction SilentlyContinue | Export-Csv output.csv

10-20-2016-9-26-49-am

– Open the file in Excel

10-20-2016-9-40-21-am

10-20-2016-9-43-15-am

– Now we will add column filter to filter the file

– Erase the first line, select Filter

10-20-2016-9-47-45-am

– Now the filter is available

10-20-2016 9-48-21 AM.png

 

Enjoy the tip ! 🙂

 

 

Thanks

 

 

 

 

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s