Created
June 16, 2020 08:52
-
-
Save Yousha/abddf4c79afd7e11db1dd33e8cb08da5 to your computer and use it in GitHub Desktop.
Clear Windows event-logs (run in PowerShell)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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