Solved

Adding events in eventlog from batchfile

Posted on 1998-09-12
3
205 Views
Last Modified: 2013-12-23
How can i add events to the application eventlog using a .cmd file running in cmd.exe .
I scheduled a .cmd file to run at specific times but i'd like to be able to verify that the commandfile started because on the first line of the .cmd file i will run a command putting some text in the evenlog. Are there any tools for this ?
0
Comment
Question by:srodenburg
3 Comments
 
LVL 1

Expert Comment

by:gasim
Comment Utility
Raise your points and I'll give you the solution!
0
 
LVL 5

Accepted Solution

by:
carmine earned 50 total points
Comment Utility
The Resource Kit(s) contain LOGEVENT.EXE which allows a batch job (or command line) to log events to the Application Event Log.


Usage:

     LOGEVENT [-m \\MACHINENAME] [-s SIWEF] [-c CategoryNumber] "Event Text"

0
 

Author Comment

by:srodenburg
Comment Utility
Thanks Carmine. Gasim is a bit greedy. Raise point for this easy question. Yeah right...
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

10 Experts available now in Live!

Get 1:1 Help Now