This repository has been archived by the owner on May 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
sys08
My-Random-Thoughts edited this page Oct 28, 2017
·
1 revision
Check a custom event log and ensure no errors are present in the last x days. If found, will return the latest y entries. To get the correct name of the log, view its properties and see the "Full Name" entry.
- EventLogName - "LIST" - Exact names of the event logs to search. Examples include: Directory Service, DNS Server, Windows PowerShell.
- GetLatestEntriesAge - Return all entries for this number of days|Integer
- GetLatestEntriesCount - Return this number of entries|Integer
- IncludeWarnings - "True|False" - Include any warning messages. By default they are omitted
EventLogName = @('')
GetLatestEntriesAge = '14'
GetLatestEntriesCount = '15'
- None
-
PASS
No errors found in the selected event logs -
WARNING
Errors were found in the following event logs -
FAIL
Errors were found in the following event logs -
MANUAL
-
NA
- All Servers
- None