How to run a local bat file on a remote computer
I would suggest using psexec which is part of the SysInternals Suite.
psexec \\remotemachine -u remoteuser -i -d cmd -c localdisk:\folder\batchfile.bat
-c
will copy from local path
I would suggest using psexec which is part of the SysInternals Suite.
psexec \\remotemachine -u remoteuser -i -d cmd -c localdisk:\folder\batchfile.bat
-c
will copy from local path