mirror of
https://github.com/XiaoliChan/wmiexec-Pro.git
synced 2026-10-19 07:01:46 +08:00
5dd8ce5d39
Signed-off-by: XiaoliChan <2209553467@qq.com>
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 |