Avatar of RhoSysAdmin
RhoSysAdmin
Flag for United States of America asked on

How do I run script on remote Windows server from linux server?

I have two different .cmd files that reside on a Windows Server 2003 box that I need a script that will kick them off from a linux server.  A backup that runs on the linux server needs to kick off these "pre" and "post" scripts on the remote Windows server.  So I need a pair of "pre" and "post" scripts to kick off their associated "pre" and "post" scripts on the remote Windows server.

Anyone done this before?
Shell Scripting

Avatar of undefined
Last Comment
RhoSysAdmin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
omarfarid

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Member_2_276102

You might also install a basic REXEC server on Windows. One REXEC server is available in the Microsoft Software Development Kit (SDK). Others are available for download from various sources. Linux should easily send requests via rexec() to a Windows REXEC server. The choice of what you might install could depend on your environment and security needs.

Tom
RhoSysAdmin

ASKER
We'll give ssh a shot.

Thx!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck