Test-KFConfig

Syntax

Test-KFConfig 
  [-ThrowErrors[:$true]]

Support

>= kenaflow 1.0.0

Return

A string value that reports success or error messages.

Description

This cmdlet is used to test a workflow configuration file (_wfconfig.ps1).

It is part of each _wfconfig.ps1 in the following line at the end of the file:

if(!$kenaflow){import-module "c:\program files\kenaflow\kenaflow.runtime.dll";Test-KFConfig;exit}

When you execute the _wfconfig.ps1 file itself you get an information wether the config file is valid or not.

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.

Discussion