Hello guys!
I'm running a batch file on a remote machine using the WinRS command that uses WinRM as the communication medium. But, I'm having a problem with the windows agent, it just does not shut down the JOB and gets stuck in the same place.
The batch is executed, but it is not finalized and is caught in the last step.
Can someone help me with this problem?
Command CMD: c:\>WinRS -r:<server> C:\Users\<user>\Desktop\<nomebatch>.bat
Thank you!