Skip to content

Instantly share code, notes, and snippets.

@Yousha
Created June 16, 2020 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yousha/abddf4c79afd7e11db1dd33e8cb08da5 to your computer and use it in GitHub Desktop.
Save Yousha/abddf4c79afd7e11db1dd33e8cb08da5 to your computer and use it in GitHub Desktop.
Clear Windows event-logs (run in PowerShell)
wevtutil el | Foreach-Object {Write-Host "Clearing $_"; wevtutil cl "$_"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment