simple node server running in docker to run WOL and powershell commands on remote pc
1.8K
simple node server running in docker to send WOL packets from local machine and run powershell sleep/shutdown commands on remote pc for use with ha-bridge for alexa integration
docker run -d --network="host" --restart=always \
-e LISTEN_IP="127.0.0.1" -e LISTEN_PORT="9000" \
-e WOL_MAC="xx:xx:xx:xx:xx:xx" -e WOL_BROADCAST_ADDR="x.x.x.x" \
-e USE_SSL="0" -e WINRM_USERNAME="some_username" \
-e WINRM_PASSWORD="a_password" -e WINRM_ENDPOINT="http://x.x.x.x:5985/wsman" \
--name wol-endpoint snipzwolf/wol-endpoint
docker run -d --network="host" --restart=always \
-e LISTEN_IP="127.0.0.1" -e LISTEN_PORT="9000" \
-e WOL_MAC="xx:xx:xx:xx:xx:xx" -e WOL_BROADCAST_ADDR="x.x.x.x" \
-e SSL_PEER_FINGERPRINT="<certificate (thumb/finger)print>" -e WINRM_USERNAME="some_username" \
-e WINRM_PASSWORD="a_password" -e WINRM_ENDPOINT="https://x.x.x.x:5986/wsman" \
--name wol-endpoint snipzwolf/wol-endpoint
Content type
Image
Digest
Size
483.4 MB
Last updated
over 8 years ago
docker pull snipzwolf/wol-endpoint