mirror of
https://github.com/XiaoliChan/wmiexec-Pro.git
synced 2026-10-28 21:39:55 +08:00
5 lines
177 B
Plaintext
5 lines
177 B
Plaintext
Set LogFileSet = GetObject("winmgmts:{(Backup,Security)}").ExecQuery("select * from Win32_NTEventLogFile")
|
|
|
|
for each Logfile in LogFileSet
|
|
RetVal = LogFile.ClearEventlog()
|
|
next |