Skip to content

OS Windows

lrchma edited this page Jun 9, 2016 · 3 revisions

https://github.com/lrchma/Log-Volume-Scripts/blob/master/OS-Windows-GetEventLogVolume.ps1

This PowerShell script calculates the MPS for Windows Event Logs. The PowerShell script requires the argument of an Event Log, with parenthesis, that unsigned PowerShell is allowed to run, and that the user has the ability to read from the Event Log in question.

PS C:\> '.\LR-GetWindowsEventLog Volume.ps1' "Security"

MPS : 18.1704805663214

PS C:\> '.\LR-GetWindowsEventLog Volume.ps1' "System"

MPS : 0.00670272036648598

PS C:\> '.\LR-GetWindowsEventLog Volume.ps1' "Application"

MPS : 0.00136168391295815