This simple Windows service monitors a NUT server for changes and reacts to power loss events.
To install the service, use the install argument in an elevated terminal:
install
nutsvc.exe install
Then use start to run the service.
start
nutsvc.exe start