LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sending windows commands from linux (https://www.linuxquestions.org/questions/linux-networking-3/sending-windows-commands-from-linux-115622/)

dubman 11-13-2003 11:39 AM

sending windows commands from linux
 
Does anyone know how I can script this.

What I need to do is send windows command line arguments to a Windows System from a Linux system.

And I need this to be scriptable, not interactive.

Security is not an issue since this is a closed network testing environment.

I can get telnet to work using the built in telnet server in windows, with the exception that I can not script the password entry, even if I have the windows policies set up to allow blank passwords and allow automatic log on. My goal is to start and stop windows perfmon from the controlling linux system.

Any help or ideas would be greatly appreciated.

Thanks in Advance.

--Dubman

AltF4 11-13-2003 07:34 PM

the "expect" command or the "Net::Telnet" perl module should do what you are looking for

google is your friend:
http://www.google.com/search?q=linux...telnet+session


All times are GMT -5. The time now is 06:36 PM.