Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am sure it has been asked million times, but I can't seem to find an appropriate answer for my simple need. I am looking for a VB script that would pull event viewer logs into one location, either emailed to me or place on let's say my computer.

Thank you for your help!

share|improve this question
I would use powershell. Much more friendly to do what you want. – Mike Jul 5 '12 at 22:33
up vote 1 down vote accepted

Yes, it's been solved a million times, but Chances are that people have solved it in ways that won't make you happy.

Your best bet is the Microsoft Technet Script Center and it's Script Center Repository. With those you will find the pieces needed to do it yourself. Another great resource is the "Windows 2000 Scripting Guide", a Microsoft Publication. The physical book is huge but cheaply-found, but I think that MS offers an electronic copy freely. (Online Version here.)

The pieces of code that you'd need to leverage are well-documented; Chances are that you just need to assemble the pieces!

But by all means, open-source what you do!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.