|
Answer» I'm sure at one POINT in time I found a command that would allow you search the eventlog for an EVENT, I know you can EventCreate to add an ENTRY, but how do I look for entries and put them to a string if found?
What do I NEED this for. I am using perfmon with diskspace counters which logs information to the eventlog when the alert goes off, I want the bat file that is launching to look for the event so it knows what system caused the alert. Hopefully this makes sense and hopefully I'm not LOSING my mind with thinking I saw such a command.
Thanks. (1) http://technet.microsoft.com/en-us/library/cc757231%28WS.10%29.aspx
(2) http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=event+log+command+line&btnG=Google+Search&meta=lr%3D&aq=0&oq=event+log+comma
|