I have the below script that will login to a Cisco router, then do a show ver and show run command outputing to a file.
My problem is often times the show run output can take a couple of minutes to complete, I could put in a sleep however there are over 1200 routers I run this against so I'd...