Skip to content

Instantly share code, notes, and snippets.

@OSDTips
Last active November 22, 2015 22:48
Show Gist options
  • Save OSDTips/59aee7e8f6a570baced8 to your computer and use it in GitHub Desktop.
Save OSDTips/59aee7e8f6a570baced8 to your computer and use it in GitHub Desktop.
Set-WindowsEventLogSize.ps1
wevtutil sl Application /ms:55000000 /rt:false /ab:false
wevtutil sl Security /ms:135000000 /rt:false /ab:false
wevtutil sl System /ms:55000000 /rt:false /ab:false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment