My Win10 Log files show as at the maximum size but also report as not full

Timothy Canning 1 Reputation point
2022-06-27T16:36:28.03+00:00

Hi,

I am looking at the characteristics of my Wn10 log files in the C:\Windows\System32\winevt\Logs directory. I'm finding the properties using PowerShell

get-WinEvent -ListLog * |Where-Object -Property IsEnabled -eq 'True' | format-table -Property LogName, FileSize, MaximumSizeInBytes, IsLogFull, IsEnabled, RecordCount

However the FileSize and MaximumSizeInBytes for most logs are being returned as the same, but the log is not reported as full?

I'm not understanding these metrics clearly, any help would be appreciated to clarify.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,072 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 35,511 Reputation points
    2022-06-28T01:00:14.393+00:00

    If the logs are set to "Overwrite events as needed" then they will never be "full". Once the log reaches the maximum log size, older events will just be overwritten.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.