microsoft:windows:eventlogs
Table of Contents
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:
- Open an elevated PowerShell prompt (to get access to all logs).
- 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