Is it possible to invoke a powershell script on a PC from Mac

My Mac system runs multiple PC’s for Network Rendering of Videos.

At the moment I use the following to mount the machines:


tell application "Finder"
	if not (disk "smb://192.168.0.3/" exists) then
		mount volume "smb://192.168.0.3/Desktop/" as user name "MACHINENAME" with password "PASSWORD"
	end if
	
	if (disk "smb://192.168.0.3/" exists) then
		
	end if
		
end tell


Is there a way to run a Powershell script called “Network_Render” located on the PC Desktop for example? and if so, how could I verify it is active?

PLEASE - Dont spend anytime on this, I just need a push in the right direction.

Google-ing the citeria returns a horrible hodge-podge of results…

Thank you so much!

Not sure if this would work, but my first hunch about what to try is to install https://www.cygwin.com/ on the PC, then in Applescript use a

do shell script

to ssh into the PC and run the Powershell Script.

More on how to run Powershell scripts from cygwin here:

http://serverfault.com/questions/266535/how-to-run-a-powershell-script-from-cygwin-ssh-session

t.spoon,

As always thank you!

I will implement and post findings back to this post with my solution.

Thanks once again!

M.