Link to home
Start Free TrialLog in
Avatar of WillChoi
WillChoi

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Qlemo
Avatar of WillChoi
WillChoi

ASKER

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?

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.

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?
Not available in my system