i have setup Jenkins on window server 2k12 and 2k16
i have created Job for setup IIS binding on multiple Server, Job run successfully with Error code 0, check in the attached Snap. also i have observed after run the job command execute on the jenkins host not on the remote server.
same issue i have observed with powershell.
when i test manually with PSEXEC it is working without any issue, but when i tried with Jenkins its showing successful with error code 0,
can anyone guide me how to i add iis binding on multiple server with the help of Jenkins
can anyone check my script and guide me incase if i forgot anything.