How to call a power shell script from ksh or sh?

Hi,

I have some .json scripts and azure commands in powershell script and I need to execute this powershell script from unix console by writing a shell script. But these powershell script is under my local for ex. C:\ drive.

Would it be possible to achieve this? And do we need to install anything else!?

when i googled, i found some answers to use ssh connection but unsure how to use and take it forward.

Any insights would be helpful.

Thanks in advance.

if you are intending to do this from a tetminal session, you can use the Anita terminal emulation april.se. the terminal emulator uses vt100 escape sequences to initiate a program on the client. similar to redirecting output from the screen to an attached printer.

---------- Post updated 07-27-17 at 02:57 PM ---------- Previous update was 07-26-17 at 10:10 PM ----------

Found this today.
Windows 10 has a native SSH Server. : Windows10