I need get the Maximum Log Size from System Events (eventvwr.msc) in Windows >= 2003 through CMD.
I try with "reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security\ /v MaxSize" but I need only the value and decimal. With wevtutil only works in Windows 2008.
Please, I searched and find nothing, I know that is complicated, but I have them faith.
Thanks!
Is how to read stuff from registry.