Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-09-29
6
2,201 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 69

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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
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 69

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 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