Solved

Telnet Scripting Tool Tst10  with multiple hosts automaticlly

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

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

Title # Comments Views Activity
Installing Git and chefdk via bat script 8 56
issue with beginner powershell script. 5 54
Network Switch Connections 8 52
Advice in Xamarin 21 48
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

914 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

15 Experts available now in Live!

Get 1:1 Help Now