PSEXEC: Program interacts with remote computers' desktop screen

Hello,

 does using this option not allow FinalBuilder to log output from the Program that is being run?

(I enabled this option since PowerShell was not executing on the remote machine but now none of the batch file that PSEXEC launches is being logged)

Thanks,

Dave

Hi Davestiff,

The typical reason for powershell not running scripts which are directed at another machine is due to permissions issues. One way to solve this is to a permission session in the script itself. These sessions get the correct permissions for the machine in question then run the commands required.

When using PSExec if interaction with the desktop is turned on then all output is written there. This means Finalbuilder has nothing to show in its logs. This is another reason as to why the powershell permission session is typically a good option. The script is running locally and calling at certain points to the other machine.

Thanks!

I Google'd around a bit and found a workaround.

I remove the -i option for the PSEXEC Action in FinalBuilder and then, in the batch file that calls PowerShell, add '

e.g.

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe AddRemoveGACAssembly.ps1 add C:\Filename.dll  < NULL

This allows PowerShell to run and FinalBuilder to log the output.

Thanks,
Dave