https://github.com/b3b0/eventchecker
📅🔌🔐🔍 Simple PowerShell tool to tell you about latest logins, failures to login and power (shutdown, restart) events.
https://github.com/b3b0/eventchecker
checker eventlogs events poweroff remote
Last synced: about 2 months ago
JSON representation
📅🔌🔐🔍 Simple PowerShell tool to tell you about latest logins, failures to login and power (shutdown, restart) events.
- Host: GitHub
- URL: https://github.com/b3b0/eventchecker
- Owner: b3b0
- Created: 2020-01-08T19:20:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T22:43:49.000Z (over 5 years ago)
- Last Synced: 2025-01-27T11:46:41.797Z (4 months ago)
- Topics: checker, eventlogs, events, poweroff, remote
- Language: PowerShell
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eventChecker
Simple PowerShell tool to tell you about latest logins, failures to login and power (shutdown, restart) events.

## Use
**./eventChecker.ps1** type *[login, failure, power]* servername *[only you know this]*
### Example:
`./eventChecker.ps1 power myserver.mydomain.com`
`TimeGenerated : 1/1/2020 10:40:45 PM>
Message : The process C:\Windows\System32\RuntimeBroker.exe (MYSERVER) has initiated the restart of computer MYSERVER on behalf of
MYDOMAIN\Administrator for the following reason: Other (Unplanned)
Reason Code: 0x5000000
Shutdown Type: restart
Comment:`