Invoke-KFCtrlC

Syntax

Invoke-KFCtrlC [-ThrowErrors[:$true]]

Support

>= kenaflow 1.0.0

Return

Nothing.

Description

This cmdlet is for testing only. It has use in production.

This cmdlet simulates a Ctrl+C as it would come from the user if he/she stops the engine with this key stroke.

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-KFCtrlC

Discussion