I 'm trying to remotely execute a perl script that needs to run with some arguments/switches, but I 'm failing miserably :p What I 'm currently doing is:
psexec \\computer -u my_username "path\to\perl" "path\to\perl_script" --switch1 --switch2
This fails. I 've tried the above with a couple of ways, playing with the quotes, but didn't manage so far. Any ideas?