I'm working with logs a bit and it seems that Get-EventLog is not able to show real Max size. It's taking max that is set via "old" gpo settings.
Just for fun I've set the event log size to 2TB and i can seee that current size is 6GB so more then 4gb that is shown by Get-EventLog.
Anyone knows a reason for this? Or I'm using wrong command? Or misreading results?
Same type of answer when using WMI…
Best Answer
It seems the proper way to do it is to use Get-WinEvent. It returns proper values.
Here's a useful link to Everything you wanted to know about event logs that I've created after working with Windows Events for a year. It will save people's time and pain I had to go thru.