Windows clear all events

WINDOWS
Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }

references:

UPDATED