Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)