Back to Summer Batch home page

Support for PowerShell script invocation

Since version 1.1.0,The Summer.Batch.Core.Step.Tasklet.PowerShellTasklet is dedicated to launch an external PowerShell script. The tasklet takes several parameters:

Below is a sample unity configuration for the PowerShellTasklet:

Example 7.30. PowerShellTasklet sample unity configuration


For technical reasons, the ambient transaction has to suppressed before the C# code can invoke a PowerShell script. Therefore, if any transaction support is required during the script invocation, this should be explicitely handled by the PowerShell script itself.


To help users write their first PowerShell script to be invoked by SummerBatch, a sample template script is being given in the appendix. This sample script file can be used as an initial template for script development.

Back to Summer Batch home page