eventvwr

How to export and view event logs in Windows