Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Windows >> How to program an event trigger to execute some program or script upon when a particular event id is logged in event viewer

use eventtrigger command. Syntax :- ========= EVENTTRIGGERS /parameter [arguments] Description: This command-line tool enables an administrator to display and configure "Event Triggers" on local or remote system. Parameter List: /Create Create a new Event Trigger that will monitor and act upon the occurrence of NT Log Events of given criteria. /Delete Deletes an Event Trigger by its trigger ID. /Query Displays the Event Trigger properties and settings. /? Displays this help/usage. Examples: EVENTTRIGGERS /Create /? EVENTTRIGGERS /Delete /? EVENTTRIGGERS /Query /? Examples ======== (1) list all configured event triggers on the system > eventtrigger sample output :- Trigger ID Event Trigger Name Task ========== ========================== ============================================== 1 Disk Cleanup c:\windows\system32\cleanmgr.exe
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]