View Single Post
Old 04-15-2008   #3 (permalink)
Marco Shaw [MVP]
Guest


 

Re: Using PowerShell to handle Eventlog

Quote:

> Now i am asking myself howto delete all entries in the second step.
>
> any ideas how to handle this ?
I am not aware of any way that you can selectively delete entries like
this. You can export your entire log, parse the export, delete the
entries you want, then re-import it. But... This method can only be
re-imported, to my knowledge, to a *new* log name, and can't be
re-imported into the default/original log. For example, I can't export
the Security log, delete it, then re-import what I just exported back to
the Security log.

I wouldn't start editing the binary log either...

Marco
My System SpecsSystem Spec