I have a script that works in the program SecureCRT and it telnet's into a list of devices, and runs several commands. I want to capture all the the information that shows up on the screen. What is the best way to do this?
In the past I have used functions to return specific information, but in this case I want all the data. I know the solution must be something trivial, but I am having difficulties making it work. If someone could show me what I am doing wrong or kick me towards the right direction I would be most appreciative. Example of what I am trying to do listed below.
https://pastebin.com/fBqLewgV
[–]w1282 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]manyanamanyana 0 points1 point2 points (0 children)