wevtutil elEnumerate every log on the box — hundreds, including the Applications-and-Services channels (Sysmon, PowerShell/Operational, TaskScheduler).
wevtutil el | findstr /i "sysmon powershell taskscheduler"Find the operational channels you actually hunt in.
wevtutil gl SecurityGet-log config — enabled state, max size, retention mode, and the .evtx file path. Check the Security log hasn't been shrunk.
wevtutil gli SecurityGet-log info — current record count, oldest record number, file size, last-written time, and whether the log is full.
wevtutil epList all publishers (event providers) registered on the host.
wevtutil gp Microsoft-Windows-Sysmon /ge /gm:trueGet-publisher — the events a provider can emit, with messages. Useful for knowing what an ID means.
wevtutil sl Security /ms:1048576000Set-log: change max size. Shown because shrinking a log to force rollover is a quiet way to destroy evidence without a clear.
wevtutil sl "Microsoft-Windows-PowerShell/Operational" /e:falseDisable a log entirely (/e:false). Turning off PowerShell, Sysmon, or Security logging is a defense-evasion move — baseline enabled states.
wevtutil sl Security /rt:true /ab:falseRetention and auto-backup settings — how the log behaves when full (overwrite vs archive).