I want Jenkins (running on a Linux server) to run a .ps1 script on a separate Windows server. I create a new Jenkins job and choose "Execute Windows batch command." No matter what batch code I run, I get:
FATAL: command execution failed java.io.IOException: Cannot run program "cmd" ...