Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zimbres/powercontrol
Remotely shutdown or reboot a Windows machine.
https://github.com/zimbres/powercontrol
Last synced: 6 days ago
JSON representation
Remotely shutdown or reboot a Windows machine.
- Host: GitHub
- URL: https://github.com/zimbres/powercontrol
- Owner: zimbres
- License: mit
- Created: 2024-08-24T12:03:21.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-30T22:18:25.000Z (4 months ago)
- Last Synced: 2024-12-24T12:18:37.758Z (11 days ago)
- Language: C#
- Homepage:
- Size: 28.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Power Control
The PowerControl is a background service that monitors commands from an HTTP service and performs system actions, such as remote shutdowns. It also sends periodic "heartbeat" messages to confirm that the software is operational.
### Configuration required:
```json
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.Hosting.Lifetime": "Warning"
}
},
"Configuration": {
"Url": "https://127.0.0.1/get_power_command",
"Data": "shutdown",
"Delay": 60,
"Command": "shutdown",
"Arguments": "/s /t 60",
"IamAliveUrl": "https://127.0.0.1/iam_alive",
"IamAliveEnabled": true
}
}```
---
[Microsoft Help: Create Windows Service](https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service)
---
Application icon by [Flaticon](https://www.flaticon.com/free-icons/power)