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


– Open the file in Excel



– Now we will add column filter to filter the file

– Erase the first line, select Filter


– Now the filter is available

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


Enjoy the tip ! 🙂








This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s