Here are the three commands to extract Even logs using PowerShell. Using Get-WinEvent Using Get-EventLog Using wevtutil for Raw EVTX Logs You can run these commands on PowerShell or Windows Terminal.
Stop retyping PowerShell commands, these 5 cmdlets do the work for you and will save you more time than you realize.