Operating System - HP-UX
1822142 Members
3908 Online
109640 Solutions
New Discussion юеВ

Executing Win2000 commands from a shell script

 

Executing Win2000 commands from a shell script

Hi all,

I have a requirement to run a Windows 2000 command (specifically IISRESTART) from a shell script on a HPUX11 server. I was assuming (probably incorrectly) that I should be able to do this using something like remsh, but it doesn't look like W2000 provides anything like a remshd daemon.

Windows 2000 does have something called the "Remote Command Service", but as far as I can tell, it only works from other NT systems, and relies on NTLM authentication.

I'm sure there are some products out there that will do this, but I'm hoping this can be acheived without a cost.

Thanks,

Duncan


I am an HPE Employee
Accept or Kudo
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Executing Win2000 commands from a shell script

Look at SSH, there is a windows version - server I believe.

http://www.planetmirror.com/pub/ssh/?M=A

Plus, its a secured connection.
Live Free or Die
Volker Borowski
Honored Contributor

Re: Executing Win2000 commands from a shell script

Hello,

you can try ATAMAN.

http://www.ataman.com/

Volker
harry d brown jr
Honored Contributor

Re: Executing Win2000 commands from a shell script

Volker, I like that, and it's cheap! Better than messing around with SSH!
Live Free or Die
Ted M Johnson_1
Frequent Advisor

Re: Executing Win2000 commands from a shell script

Don't forget the Expect programming language...
Stefan Schulz
Honored Contributor

Re: Executing Win2000 commands from a shell script

Hi,

there are some products which give you remsh, telnet, remotelogin daemons. I think the most complete product is UWIN 2.9. Have a look at http://www.research.att.com/sw/tools/uwin/ . Its not free for commercial use, but you can download and testdrive it with no limitations.

There are also other products like Cygwin (http://sourceware.cygnus.com/cygwin/) or Interix and NutCracker. You will find the links at the bottom of the UWIN page.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.