VMware Cloud Community
Arnon
Contributor
Contributor

Calling Powershell script from SRM script

Hi,

Just migrated from a Windows based SRM to appliance (8.5)

We used to have a simple powershell script that was running as part of the recovery plan.

Now I'm trying to figure out how to run it from the appliance.

I have another windows machine on the same segment as the SRM which I can use to run the Powerhsell, but I can't understand how do I call this Powershell script from within the SRM appliance?

Anyone figured this out?

0 Kudos
1 Reply
Arnon
Contributor
Contributor

update - 

I've managed to install OpenSSH on the Windows machine and I can successfuly login from the SRM appliance to the Windows machine and get a Powershell shell.

Now I just need help with the scripting on the SRM machine, to automatically connect to the SSH and run the Powershell script.

help?

0 Kudos