PsExec will copy the .exe but won't let me pass arguments to it

Solution 1:

I figured it out. You need to quote the .exe part and then just put the arguments for it after it:

psexec \\marklap -c "test.exe" /S