10 lines
305 B
Markdown
10 lines
305 B
Markdown
# Powershell
|
|
```
|
|
Limit-Eventlog -logname security -maximumsize 200MB -overflowaction overwriteolder
|
|
```
|
|
|
|
# GPO to increase log size
|
|
|
|
Computer Configuration > policies > administrative templates > windows components > event log service
|
|
|
|
enable "Specify the maximum log file size (KB)" to 200000 = 200MB |