When executing Powershell scripts through a Process Executor script the Powershell process may hang because it has not been terminated when executed within SilkCentral.
It is therefore recommended that within your Powershell script you use a command to terminate the actual Powershell process. For example you can use the following code to terminate the Powershell process:



If you are using Powershell version 4 or 5, you do not need to add the explicit Exit command.

Incident #2575652