When the SMLets.psm1 module is loaded it adds the module and script paths to the Path environment variable without checking whether the paths are already added. If the module is imported multiple times (ie from a workflow engine running activities) the Path variable string eventually gets too long and the module fails to load.
↧