Skip to content

Instantly share code, notes, and snippets.

@mark05e
Created April 13, 2019 12:11
Show Gist options
  • Save mark05e/d7a8b1a9efc967ea17f45eecf97d2385 to your computer and use it in GitHub Desktop.
Save mark05e/d7a8b1a9efc967ea17f45eecf97d2385 to your computer and use it in GitHub Desktop.
:: Export Windows System and Application Logs - Text file
SET LOG_STORE_PATH=c:\temp\EventLogs
wevtutil query-events Application /f:text>%LOG_STORE_PATH%\app.txt
wevtutil query-events System /f:text>%LOG_STORE_PATH%\sys.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment