Solved

Telnet Scripting Tool Tst10  with multiple hosts automaticlly

Posted on 2007-03-28
2
6,460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

In this post we will learn different types of Android Layout and some basics of an Android App.
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

734 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