how to check event logs in console code example Example: location of event logs %SystemRoot%\System32\Winevt\Logs