This project is read-only.

is remote execution allowed?

Aug 9, 2012 at 9: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.

Aug 13, 2012 at 9:09 AM


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