I have a Visual Basic script in a spreadsheet that allows me to double-click a cell, and open a telnet session to a particular IP address. As seen below:
My goal is to have the script perform a series of keystrokes; so I can get past the banner, username and password prompts, and into the Command Line of a switch.
The order of these keystrokes are as follows:
CTRL+Y (Proceed past banner page)
username (the username of the switch)
Enter (to input the username and proceed to password field)
password (the password of the switch)
Enter (to input the password and proceed to the command line interface)
If anyone could help me with this, it would be greatly appreciated!