I have been trying forever to make a script that will automatically log into a telnet device send a few commands and record the output. I got one script that uses Putty and a configuration that is saved in Putty. It works great, but since it uses the GUI it can only be run when I am logged in and my comp is not locked. My goal is to create a script that can do this: 1) Log into a Cisco device via telnet 2) Pull a bunch of show commands 3) Clear the counters 4) log all input and output