execute powershell script from linux servers

Hello,

I search a tool for executing powershell scripts or sql commands from linux servers.
I can't setup cygwin or ssh client on the Windows servers.

Thanks

Regards
bibi92Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bas2754Commented:
There may be a few options.  Most promising in what I have looked at is:

http://openwsman.github.io/

I have not personally had time to try it out yet, but was looking into it not too long ago.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
systechadminConsultantCommented:
could you please elaborate more about your issue?
0
bibi92Author Commented:
Hello,

I have to build oracle linux and servers centralized repository on oracle database. So I have to executed shell and powershell scripts on repository server which OS is linux. Thanks
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

gheistCommented:
Sadly linux does not execute powershell scripts. As much as oracle is involved one uses SQL scripts and oracle is happy about them.
0
gheistCommented:
The article does not mention oracle or Linux. There is no powerehell on linux or oracle.
0
bibi92Author Commented:
Maybe my English  is very bad, from this linked :
http://sharpcodenotes.blogspot.fr/2014/01/running-powershell-commands-from-linux.html

Using a WS-Management client on Linux

I have already setup sshd client on Windows server and execute locally the powershell scripts through ssh connection.

Regards
0
gheistCommented:
Azure already has windows SSH, I assume it is on the way to customer windows servers.
Do you want to solve this remote exec problem for the year to come while windows is without SSH?

You can also run psexec.exe from sysinternals via WINE, less stuff to set up on windows.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.