Windows Event ID · Microsoft-Windows-PowerShell/Operational log
Records the PowerShell code that actually runs, after Base64 and other encoding is removed. Windows logs suspicious script blocks automatically, and full logging can be turned on by policy.
These labs give you an .evtx file where Event ID 4104 is part of the story.
Event ID 4104 (Microsoft-Windows-PowerShell/Operational log) means "PowerShell script block logging". Records the PowerShell code that actually runs, after Base64 and other encoding is removed. Windows logs suspicious script blocks automatically, and full logging can be turned on by policy.
IEX with DownloadString or Invoke-WebRequest. Set-MpPreference -Disable... and Add-MpPreference -ExclusionPath. FromBase64String and other decoding inside the script.
Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.