Script Library

Boost your management, troubleshoot, and remediation capabilities with scripts created by experts in the IT community.

<< Back to Script Library

Tag: Event log

(3 Scripts)
Get the number of times an event has been registered in the Windows event log since the system has booted.
This can be used to decide whether to reboot a system to bring it back into a "healthy" state.
Version: 1.0.4  |   Created: 2023-06-09  |   Modified: 2023-06-23  |   Creator: Rein Leen  |   Downloads: 67
Show all error events from all event logs on the selected computer, ordered on the most frequent, in the specified time period where there is more than one instance of that specific event.
Arguments:
Minutes Back - the number of minutes back from the current time to search (default is 60)
Log Level - the event log level to search for events (default is Error)
Excluded log names - an optional regular expression, e.g. "Application", which will exclude events from any event logs where the event log name matches the regular expression.
Version: 1.4.8  |   Created: 2018-07-09  |   Modified: 2018-11-21  |   Creator: Guy Leech  |   Downloads: 1217
Show all warning events from all event logs on the selected computer, ordered on the most frequent, in the specified time period where there is more than one instance of that specific event.
Arguments:
Minutes Back - the number of minutes back from the current time to search (default is 60)
Log Level - the event log level to search for events (default is Warning)
Excluded log names - an optional regular expression, e.g. "Application", which will exclude events from any event logs where the event log name matches the regular expression.
Version: 1.6.23  |   Created: 2018-07-06  |   Modified: 2018-11-21  |   Creator: Guy Leech  |   Downloads: 188