- PsExec is programm provided by Microsoft Sysinternals and part of the PsTools library.
- PsExec provides the capability to connect to a remote Windows host and to execute programs remotely.
- The following example shows a job that is executed on a remote server per PsExec:
<job> <script language="shell"> <![CDATA[ c:\windows\system32\psexec.exe \\servername /i /e /u username /p password script2execute parameter exit 0 ]]> </script> <run_time> <period single_start="22:00" when_holiday="ignore_holiday"/> </run_time> </job>
This job will start daily at 22:00 hrs. and execute the script2execute script with the parameter parameters on the servername server authenticated by username and password .