Hi Community, we are trying to run commands on a remote Server (Windows Server) with openssh installed. We are using the Siemplify Action "SSH Run Command".
When doing a simple ipconfig on the remote Server it is working fine and we are getting displayed the output but we need to run a more complex script for adding DNS records and always getting error messages like:
operable program or batch file.
The full command looks like this:
dnscmd.exe . /RecordAdd {domain} {hostname} {record type} {IP address}
We have an open ticket but unfortunately even the Siemplify support doesn't know if this is caused by the Siemplify SSH Action (Paramiko SSH Client) or the Windows Server or a Syntax error.
Hopefully some of you could help us by solving this.
The error "operable program or batch file" usually means the Windows Server can't find the dnscmd.exe command. Here's a summary of the troubleshooting steps: