PsExec is not recognized as an internal or external command
jenkins
Solution
First Define psexec.exe path in environment varaiable "PATH" or else place psexec.exe file in C:\Windows\System32\
And to Download Psexec.exe file https://download.sysinternals.com/files/PSTools.zip
Problem
I have a job that needs to run a script on a remote computer. I'm doing so by using psexec via "Execute windows batch command": ``` C:\PsExec.exe \\computername -u username -p password -accepteula c:\xxx.exe ``` When I run the job I get the following error: ``` c:\PsExec.exe is not recognized as an internal or external command ``` ** `PsExec.exe` is located under `c:\` Any ideas?