PAexec - Trying to copy files and run a bat file on remote server
Hi,
I'm running this script:
------------------------------------------------------------------------------------------------------------
set RUN_DIR=C:\Users\Administrator\Desktop\Monitoring_Tools
%RUN_DIR%\paexec.exe @Servers_List.txt -u Administrator user -p vermoulu@321 password -c -clist %RUN_DIR%\Files_List.txt -s %RUN_DIR%\test.bat
------------------------------------------------------------------------------------------------------------
I would like to copy Files_List.txt (files specify in it, including test.bat as the first one) to Servers_List (list of servers) as well to run test.bat.
First, I'm getting this error:
One or more source files were not found. Try -csrc or -clist?
Second, not clear how to control the destination folder to copy the files to.
Thanks in advance,
Lavi