AnsweredAssumed Answered

How to Use WinRS for Remote Command

Question asked by RobsonVieira on Aug 8, 2018
Latest reply on Aug 10, 2018 by treal04

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 

Report
Thank you!

 

Outcomes