Solved

Telnet Scripting Tool Tst10  with multiple hosts automaticlly

Posted on 2007-03-28
2
6,298 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
Comment Utility
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
Comment Utility
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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

A short article about a problem I had getting the GPS LocationListener working.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now