EventID 800

Configuration

This Event logs Powershell's Module launched with powershell CLI or Powershell script. There are at least 2 methods for the powershell eventlog 800 activation.

1st method admin-right

Open Computer Configuration/Administrative Templates/Windows Components/Windows PowerShell/Turn on Module Logging. Check Enabled and add * in Module Name . Needs a reboot to be effective.

This configuration stays after reboot and is effective on all users. (gpupdate /force didn't work on my side)

2nd method user-right

Open powershell and launch this command Get-Module | ForEach {$_.LogPipelineExecutionDetails=$True}. Doesn't need a reboot to be effective.

This configuration disappears after reboot and is effective only on user that launched command.


Note: The second method can be used by non-admin user to avoid Powershell module logging during its current session even when the 1st method is already configured.

Example

Image not displayed
Log from Powershell Script
Image not displayed
Powershell launched from CMD (1/2)
Image not displayed
Powershell launched from CMD (2/2)

Link