Automic Workload Automation

  • 1.  How to Use WinRS for Remote Command

    Posted Aug 08, 2018 12:11 PM

    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!

     



  • 2.  Re: How to Use WinRS for Remote Command

    Broadcom Employee
    Posted Aug 10, 2018 07:15 PM

    Hi RobsonVieira,

     

    I'm able to reproduce this behavior, but don't have a solution for you right now. Once the command is finished can you cancel the job via max runtime or can you install an agent on the other server as a workaround?

     

    Cheers,

    Alexander