Logs¶
The location of PowerShell logs is dependent on the target platform.
On Linux, PowerShell logs to syslog and rsyslog.conf can be used.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_logging_non-windows?view=powershell-7.2