telnet scripts in windows

Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions telnet scripts in windows
# 1  
Old 09-08-2011
MySQL telnet scripts in windows


I am new to scripting & i want to write a script to fetch some report.
For an example i am having a windows server which is having n number of child devices itself..I know all the Ip address of the child devices..
I wnt to login into all the child devices & fire a command & finally i need all the logs in a single file...

Could someone help on this whether it is possible or not...

Thanks in advance

# 2  
Old 09-08-2011
Are you talking about ".bat" scripts used in windows? If so, I think you are in the wrong forum, this is for *nix only.

# 3  
Old 09-08-2011
Not in .bat

Is it possible through power shell
# 4  
Old 09-12-2011
Originally Posted by ahamed101
I think you are in the wrong forum, this is for *nix only.
Not true, he is in our Windows forum, where such questions can be asked and answered if anyone knows them. It's not the forum's strong point, is all.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 09-20-2011
If you are in a Windows AD environment, this should be pretty easy to do. Just map all the required drives, create a batchfile <easiest way>, then use Windows Job Scheduler to run it.
# 6  
Old 09-25-2011
Hi Thk u.. for your reply....

But here the server is windows,,,Remote host's are different..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run scripts within a telnet session?

I want to connect to a remote host using telnet there is no username/password verification just telnet remotehost then I need to input some commands for initialization and then I need to repeat the following commands: cmd argument argument is read from a local file, in this... (1 Reply)
Discussion started by: esolve
1 Replies

2. Shell Programming and Scripting

telnet scripts

Hi, Can someone please send me a sample script to login to a specific device and do someme command then logout. Thanks.. (3 Replies)
Discussion started by: rbn1226
3 Replies

3. SCO

Cannot type properly in telnet window (windows Xp & SCO Unix)

Hello friends, I am using telnet from windows xp to connect to SCO Unix. Since i am used to telnet environment given by linux from windows, this one is annoying. The cursor movements has no boundary, causing me to type control characters accidentally, which makes it difficult to navigate,... (1 Reply)
Discussion started by: frozensmilz
1 Replies

4. AIX

Automation from Windows to Linux - Telnet and su using perl

Here is my requirement to automate the deployment procedure for my project. Telnet to AIX box (say SERVER1) from windows machine (with USER1) Select the server to login say "SERVER2" su as different user say "USER2"(Owner of the deployed files) Execute the script (Script has so many... (1 Reply)
Discussion started by: nurainos
1 Replies

5. Shell Programming and Scripting

Execute scripts from remote using telnet

Hi having the below code (sleep 1 echo "username" sleep 2 echo "password" sleep 2 echo "cd /home/test1/path" sleep 10 echo "ls -l | grep filename" if exists echo " filename" echo "mailx -s "Task Executed"" else echo "mailx -s "File not Exist"... (1 Reply)
Discussion started by: karthikn7974
1 Replies

6. Shell Programming and Scripting

telnet and run scripts

Hello folks, I've got this script which connects to different boxes and executes a certain script in those locations. The following is the line from where i am trying to do this: (sleep 1; echo $USERID ; sleep 1; echo $PASSWD ; sleep 1 ; echo y ; sleep 1 ; echo "\r" ; sleep 1 ; echo "cd... (1 Reply)
Discussion started by: Rajat
1 Replies

7. Shell Programming and Scripting

Run the scripts from windows to UNIX

HI, I have one java program in windows OS. From that java program, I want to run the shell script file in the UNIX OS. Is it possible ??If yes, please post me the source code, how to do that ?? Thanks, Srinivas (3 Replies)
Discussion started by: srinivas peyyal
3 Replies

8. Solaris

Windows GUI to feed shell scripts

Currently contemplating an idea to further automate some tools I've written. Excuse my knowledge if this is obvious (I was not able to find it in the forums), but how would I go about using a windows app to feed variables to a shell script as well as initiate that shell script and give me a... (1 Reply)
Discussion started by: douknownam
1 Replies

9. SCO

Telnet connection to Sco Unixware from Windows 2000 taking longer !!!

Telnet connection to SCO Unixware server taking longer to return the Login prompt !!! Thanx in advance for any suggestions or help in this regard . Cheers KBiswas (9 Replies)
Discussion started by: kbiswas
9 Replies

10. UNIX for Dummies Questions & Answers

automatic login from windows by a telnet session

Help me please, I wanna know if it's possible to define in windows the option when somebody starts a telnetsession to a unix machine it automatically logs in with the username and password of this user. Or if there is a possibility to set the username and password to an Icon on the users... (3 Replies)
Discussion started by: Herwin
3 Replies
Login or Register to Ask a Question