User Tools

Site Tools


microsoft:windows:eventlogs

Microsoft - Windows - Event Logs

Knowledge Base Articles

Notes

Get a list of all event logs

With their name, enabled status, logging mode, and max size in MB:

  1. Open an elevated PowerShell prompt (to get access to all logs).
  2. Execute the following PowerShell command:
    Get-WinEvent -ListLog * | Select-Object LogName,IsEnabled,LogMode,@{Label="MaximumSizeInMB";Expression={$_.MaximumSizeInBytes/1024/1024}}

Sources:

microsoft/windows/eventlogs.txt · Last modified: 2019/09/24 17:32 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki