I have a batch file available on LAN shared folder
I wanna run it on sing machine using PSexec.exe
usually i copy the batch file to C drive on any machine then I get into that machine using this command:
psexec \\computerName cmd
after getting into command of that machine I navigate to that file and run it.
now I wanna run it remotely on many machines and the batch file will be on LAN
what will be the command?