How to configure windows pc for rpc shutdown

can anyone help me how to configure windows pc for RPC shutdown to work ?
i have configured hassio for rpc shutdown correctly , but it doesent works ,
i think the complete process for setting the windows pc is very important ,

help …

Hi i have an command that is fully working with putty

net rpc shutdown -f -I 192.168.1.20 -U xxx%xxxx

i tried to insert to button but i cant, can you help with my code? > - platform: command_line

name: Shutdown Chris
switches:
  pc:
    command_off: "net rpc shutdown -f -I 192.168.1.20 -U xxx%xxx"