Invoke-KFTerminatePosh
Syntax
Invoke-KFTerminatePosh [-ThrowErrors[:$true]]
Support
>= kenaflow 1.0.0
Return
Nothing.
Description
This cmdlet is for testing only. It has use in production.
This cmdlet forces the PowerShell runtime to stop. It can be used to simulate a "termination" like "Stop Debug" in a PowerShell debugger.
Parameters
[-ThrowErrors[:$true]]
This is a default parameter for all kenaflow cmdlets. If set to
$true
(default!) the engine will pass exception within the cmdlet to the script for further handling.
Example
Invoke-KFTerminatePosh