I am trying to execute following command
psexec \\\\x.x.x.x -d -c -f cmd.exe /c d:\\test\\hello.bat
It runs fine and gives output
PsExec.exe -s -i 2 C:\path_to_exe.exe
This need to check with the session ID variable (-s & -i)