Solved

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

Posted on 2008-09-29
6
2,198 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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