Created
May 19, 2015 09:56
-
-
Save amon-ra/c6afb2c198179f2e16be to your computer and use it in GitHub Desktop.
Clean windows event log an user temp
This file contains 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
for /f %%a in ('WEVTUTIL EL') do WEVTUTIL CL "%%a" | |
timeout 30 | |
del /s /q %TEMP%\* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment