SOURCE: https://theitbros.com/using-psexec-to-run-commands-remotely/ The -c parameter allows you to specify the name of a local file you want to copy and run on a remote computer. For example: psexec \\lon-srv01 -c c:\ps\myscript.bat C:\>.\psexec \\acco11 -c c:\changekavserver.bat PsExec allows you to run the command on multiple remote computers simultaneously. You can specify the list of remote computers separated by commas: psexec \\PC1,PC2,PC3,PC33 "ipconfig /all" Or save a list of computers to a text file (one hostname on each line), and then specify the path to that file: psexec @c:\ps\computer_list.txt ipconfig To redirect the results of running commands on remote computers to a text log file: PsExec @C:\Tools\computer_list.txt CMD /C "hostname & ipconfig" >> C:\Tools\log2.txt