I have a script that exports evens from the eventlog like:
Get-EventLog -LogName Application | Where-Object Source -Match "my application" | export