Run commands in elevated PowerShell.
wevtutil el | Foreach-Object {Write-Host "Clearing $_"; wevtutil cl "$_"}
Ignore the error clearing the Debug logs.
Get-WinEvent -ListLog * -Force | % { Wevtutil.exe cl $_.logname }