karlsnooks
Windows Specialist
- May 31, 2012
- 94
To clear event logs, run following powershell script as administrator:
For instructions on running a powershell script,see
https://www.sysnative.com/forums/sh...OWERSHELL-SCRIPT?p=28982&viewfull=1#post28982
Script also available as download at:
http://sdrv.ms/QQ53hm
Code:
# Clears all of your event logs
Get-WinEvent -ListLog * -Force |
% { $_.logname;Wevtutil.exe cl $_.logname };Wevtutil.exe cl system
EXIT
EXIT
For instructions on running a powershell script,see
https://www.sysnative.com/forums/sh...OWERSHELL-SCRIPT?p=28982&viewfull=1#post28982
Script also available as download at:
http://sdrv.ms/QQ53hm