wevtutil el | foreach { wevtutil cl $_ }
(from http://skalkoto.blogspot.com/2011/08/clear-all-windows-2008-r2-event-logs.html)
This is intended to be a resource mainly for myself... to keep notes on things I've worked on or figured out. This way I can easily look things back up after I have forgotten the details. This will also allow me to easily send pointers to others when I want to share what I've found.
wevtutil el | foreach { wevtutil cl $_ }
No comments:
Post a Comment