Now as a powershell command in hass agent i linked to a ps1 file: powershell -ExecutionPolicy Bypass -File "C:_automationScripts\mqtt-toast-notification.ps1" "{payload}"
and via node red I send an mqtt out to the command with my custom payload. The notification pops up, but the message is still "{payload}"