Invoke-KFGlobalStop

Syntax

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

Support

>= kenaflow 2.0.0

Return

Nothing.

Description

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

This cmdlet simulates a "global stop" of kenaflow as it would come from various situations, e.g. in case of a pending kenaflow update that is recognized by the running kenaflow.exe process. It sends a process internal "GlobalStop" event to inform all threads to quit their job.

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

Discussion