Raj2796's Blog

October 10, 2012

Windows 2008 R2 64 clearing all event logs via powershell

Filed under: MS — raj2796 @ 11:34 am

Quick post Рsome of my virtual servers amassed massive event logs that were using up valuable space, a quick way to clear all event logs on the server from  powershell is to use the command:

wevtutil el | foreach { wevtutil cl $_ }

Advertisements

Create a free website or blog at WordPress.com.