Solved

Telnet Scripting Tool Tst10  with multiple hosts automaticlly

Posted on 2007-03-28
2
6,431 Views
Last Modified: 2013-11-13
I am working with the Telnet Scripting Tool for windows, Tst10 which is working well for conneciting to ONE host and saving the output...

But has anyone done anything with it so that it will call a host file to connect to multiple hosts in a row and keep the output to a file going, then giving the ability to parse through the output file later...

For example:

i have 10 switches i want the Telnet Tool to telnet to each IP run the commnad and save to the same output.txt file, either by calling a hostfile or incrmenting the last octect of the IP address, something of that nature...

Any one done anywork like that with this specific tool or another standalone tool...For reasons i dont need to go into i do not have any unix/linux and cannot use expect or perl to do this type of thing...I need a small windows application that can do this with little overhead...

and i am not trying to reinvent the wheel...just do it cheap and easy...

Thanks for your time Garry...
0
Comment
Question by:bakergarry
2 Comments
 
LVL 9

Accepted Solution

by:
javajws earned 500 total points
ID: 18808615
Here's a sample using VBScript:
http://www.vandyke.com/support/crt/scripting_examples.html

Checkout Listing 15 - PingMulti.vbs for an example...only you want to Telnet, not Ping:
http://www.microsoft.com/technet/scriptcenter/topics/networking/03_atnc_remote.mspx
0
 

Author Comment

by:bakergarry
ID: 18821631
thanks javajws for your suggestions, while i didnt use them it got me thinking and was a help...

I just stuck with batch jobs and created 255 separte config files and then used a nifty little tool called TEXtools (http://www.fireflysoftware.com/index.htm) to pipe through them and do a Replace String to change the commands inside each .txt config file for the TST10 tool to use...

thanks..
Garry
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Opening Ports for Specific LAN IP Address on Juniper SRX240 3 46
Programming Language for Wordpress 7 62
Powershell GUI 11 55
Ruby or Python 7 44
This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question