I have a step in my TFS build workflow that tries to invoke a command on a remote machine using winrs. I use the call process task and pass powershell to it, and then pass it to a script that contains something like
winrs -r:remote.server.com ipconfig
The team works very well, and I can see the output in the build logs, but it all seems to stop at this point. I can go into the remote box and confirm that ipconfig is not running, so the process has finished, but it looks like winrs is not returning. Is there some kind of trick I'm missing, maybe
-justBloodyWork
flag?
source
share