Partilhar via


EventTriggers

This could be usefull; I always like knowing about obscure commands that are on every box I work with.

eventtriggers[ .exe] /create [ /s Computer [ /u Domain \ User [ /p Password]]] /tr TriggerName [ /l [APPLICATION] [SYSTEM] [SECURITY] [ "DNS Server" ] [LOG] [DirectoryLogName] [ * ]] {[ /eid ID] | [ /t {ERROR | INFORMATION | WARNING | SUCCESSAUDIT | FAILUREAUDIT}] | [ /so Source]} [ /d Description] /tk TaskName

eventtriggers create:
This command creates a new event trigger that monitors and acts upon the occurrence of log events of given criteria.

https://technet2.microsoft.com/WindowsServer/en/library/e33bcf4c-dece-4b47-9bb7-31ecfcbc76d51033.mspx?mfr=true