Solved

Need an automatic script to convert .evt file to .csv file

Posted on 2008-09-29
6
2,195 Views
Last Modified: 2010-04-21
Hi,

Does anyone know how to create an automatic command line to convert from .evt file to .csv file?

I know that I can do this manually by opening Windows Event Viewer (eventvwr), Right-click on specific event log (i.e. Application, Security, etc.), and then Save Log File As .csv file.

I want to know the dos command line (or visual basic code, not vbscript) to automate this conversion.

Regards,

Will
0
Comment
Question by:WillChoi
  • 2
  • 2
  • 2
6 Comments
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 125 total points
ID: 22599102
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 22599124
0
 

Author Comment

by:WillChoi
ID: 22599156
I've been asked not to install any additional software, and my computer does not have Wevtutil tool.

Is there any way of writing such code with the use of Windows API?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 22600474

Tough luck! -- Unless you are paid by the hour.

If you cannnot download/install software, then the company would have to invest many man-hours for you to code something.

0
 
LVL 68

Expert Comment

by:Qlemo
ID: 22601003
There are some differences between install and download. If you use elogdmp from Windows Resouce Kit, there is no install, and it can used remote (of course). So why shouldn't you?
0
 

Author Closing Comment

by:WillChoi
ID: 31501284
Not available in my system
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HP PC Hardware Diagnostics UEFI 11 118
Event ID: 1202 / Source: SceCli 6 88
how to pick file up from ftp via batch file 2 47
Batch File tool box 5 43
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now