Clear all Windows event logs in Powershell

article #1350, updated 1778 days ago

Try this, in administrative Powershell:

wevtutil el | ForEach-Object { "$_"; wevtutil cl "$_" }

Categories: