[Shell Command issue] Wake on Lan integration - help needed

Hello there. I’m new to the Homeassistant stuff but managed to setup everything in wanted so far.
Now I tried to setup the Wake on Lan integration. I managed to make it turn on my Computer but turning it off again just doesn’t want to work…

My config looks like this:

switch:
  - platform: wake_on_lan
    mac: "MAC"
    name: "JONAS_PC_HASS"
    turn_off:
      service: shell_command.turn_off_jonas

shell_command:
  turn_off_jonas: net rpc shutdown -I 192.168.178.105  -U USER%iPASS

Yes, I know, I don’t have a SSH secure key but that’s fine for me for now.
The SSH command works when pasting it e.g. a raspberry pi. But when I run it via the Wake on Lan integration nothing happens.

What did I do wrong here?

I would guess the net command works on your host system, but run as a shell command it is executed in the context of the docker container. Just tried it, command not found: net. You can double check this if you log into your ha with the ssh addon (GitHub - hassio-addons/addon-ssh: SSH & Web Terminal - Home Assistant Community Add-ons)
I am using iotlink for this, it is working but it is not maintained anymore (last one is from 2020). Another idea would be HASS Agent (GitHub - LAB02-Research/HASS.Agent: Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.), i did not try it but it should have the ability too.