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.
First and foremost, users need to install the Windows Server Essentials Log Collector Package. For that, check out the steps to learn how to do it: In case, users need to reinstall Log Collector ...