Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Tak, Jacob. Det glade mig at du kunne lide mine blog. (sorry for the grammar, my Danish is rusty)I think the extra carriage returns are part of the reverse redirection. I have noticed it but haven't dug into the issue becuase for my purposes it doesn...
Add an extra 'exit' or two at the end of your telnet script. Plink will not disconnect properly when using reverse redirection unless your script exits all the way out.Check the warning paragraph in my blog.http://www.orcsweb.com/blog/james/fun-with-...
I found a solution. It' not pretty, but it works. Based off the comments in this thread:http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows Since StdIn redirect (<) does not work in PowerShell you have to call cmd.exe to do...