is remote execution allowed?

Aug 9, 2012 at 8:48 PM

Trying to run the following script in the powershell action.

$sBlock = "C:\ActiveScripts\Blah.ps1"

Invoke-Command -ComputerName OtherPC -ScriptBlock{$sBlock}

Doesn't appear to be working/running.

Coordinator
Aug 13, 2012 at 8:09 AM

Hello,

in general it is allowed. But keep the security in mind. The action will run as the current AppPool or as SPTimer job.

Bye,

Christian