Sequence® is a collection of libraries for automation of cross-application e-discovery and forensic workflows.
The PowerShell connector contains Steps for executing inline PowerShell scripts in Sequences.
Run an inline script that returns two PSObjects
and prints them:
- ForEach
Array: (PwshRunScript Script: "@( [pscustomobject]@{ prop1 = 'one'; prop2 = 2 }, [pscustomobject]@{ prop1 = 'three'; prop2 = 4 }) | Write-Output")
Action: (Print (GetVariable <entity>))
Run a script that receives input as an Entity stream:
- <Input> = [
(prop1: "value1" prop2: 2),
(prop1: "value3" prop2: 4)
]
- ForEach
Array: (PwshRunScript
Script: "$input | ForEach-Object { Write-Output $_ }"
Input: <Input>
)
Action: (Print (GetVariable <entity>))
https://sequence.sh/playground
Can be downloaded from the Releases page.
Release nuget packages are available from nuget.org.