======Microsoft - Windows - Event Logs====== =====Knowledge Base Articles===== [[https://support.microsoft.com/en-us/kb/957662|Recommended settings for event log sizes in Windows (KB957662)]] \\ =====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: * [[https://stackoverflow.com/questions/25066534/get-information-about-event-log-settings|Stack Overflow - Get information about Event Log settings]] * [[https://www.codetwo.com/admins-blog/how-to-check-event-logs-with-powershell-get-eventlog/|CodeTwo - Exchange & Office 365 Admin's Blog - How to check Windows Event Logs with PowerShell (Get-EventLog)]]