Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Write to a Custom Event Log Using EventCreateContent of Write to a Custom Event Log Using EventCreate.vbsMD5 Hash: 2B052E5F55C334C81F5FF984801E530E |
||
' Description: Uses the EventCreate.exe utility to write an event to a custom event log named Scripts.
Set WshShell = WScript.CreateObject("WScript.Shell") strCommand = "eventcreate /T Error /ID 100 /L Scripts /D " & _ Chr(34) & "Test event." & Chr(34) WshShell.Run strcommand | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |