--copy

Syntax

kenaflow.exe --copy  --dest <folder> [--workflow <path-or-folder>] [--currentdirectory <folder>]

Description

This switch allows you to copy the current workflow to a new folder.

If you run kenaflow.exe --copy from within a workflow folder you do not need to specify --workflow <path-or-folder>. From any other working directory you need to specify --workflow <path-or-folder> with eigther a path to a _wfconfig.ps1 file or a folder to a workflow folder (that contains a _wfconfig.ps1 file).

Use --dest <folder> to specify the destination.

Duing copy the new workflow will be disabled (Enabled = $false) and it will get a new ID.