winget install --id=DarkfullDante.wol -e
a CLI tool to send a wake-on-lan command to a locally attached device
a windows wake-on-lan utility to wake a locally attached device using wake-on-lan magic packet protocol.
type the following command in a windows terminal
winget install DarkfullDante.wol
The structure of the commands for the tool is has followed:
wol [OPTIONS...]
| Option | Required | Description | |------------------------|:--------:|----------------------------------------------------------------------------------------------------------------------------------------------------------| | -a --address=VALUE | | The address to reach the device. Defaults to broadcast (255.255.255.255). Can be IPv4, IPv6 or hostname | | | -m --mac=VALUE | * | The mac address used to build the magic packet | | | -p --port=VALUE | | The port to use to send the magic packet. Defaults to 7 | | -d --debug-level=VALUE | | Verbosity level of the application (0 = silent, 1 = default, 2 = debug) | | -s --silent | | Force the app in silent mode (no text in terminal), equivalent to -d=0 | | -v --version | | Shows the installed version of the app | | -h --help | | Show the help dialog of the app |
A mac address must be provided for the utility to work. All other fields are optional
# an obviously inexistent mac address
> wol -m="00:00:00:00:00:00"
# an obviously inexistent mac address
> wol -a="192.168.0.230" -m="00:00:00:00:00:00" -p=9
# an obviously inexistent mac address
> wol -a="hostname.local" -m="00:00:00:00:00:00" -p=9
Go ahead and make a pull request if you want to contribute.