Page 1 of 1

[RESOLVED] Windows Logs

Published: August 25, 2023 - 10:11
by thomas789
Hello,

I have a WAPT 2.4.0 agent workstation running Windows 11, with
a WAPT console version 2.4.0.14058
and a WAPT server version 2.4.0.

Is it possible to access the logs of a Windows workstation (specifically its event log) from a WAPT package (I haven't found one if it exists) or via PowerShell?

Thank you in advance, best regards.

Re: Windows Logs

Published: August 25, 2023 - 2:44 PM
by blemoigne
Hello,
apparently the PowerShell command `Get-EventLog` exists. It can be used in a WAPT package with `run_powershell()`.
It would be better to run it within the `audit()` function if you want it to be updated daily.

Re: Windows Logs

Published: September 19, 2023 - 08:47
by thomas789
Thank you for your response.