Powershell: Export Windows Server event logs to CSV

This powershell cmdlet  enables you to manage your windows server event logs, and it also enables you to get at the events found within those event logs.

Simple basic code example to do this.

Windows Server hostname is: SERVER1

Modify the logname as needed:  system, security, application etc.

get-eventlog -logname system -computername SERVER1 -after ‘1/1/2014’ | export-csv system.csv

Click here for the Microsoft TechNet reference web page on this.