Module Version: Powershell 2.1.1
Puppet Version: 4.9.4
OS Name/Version: Windows 2012r2
Describe your issue in as much detail as possible...
Creating a manifest (exec.pp) with:
And trying to apply it with `puppet apply exec.pp` fails with the errors in the attachment.
Doing the same with running hte command in the exec in a powershell window works.
Debug run log attached.
Resolution: I could get things to work again by downgrading to version 2.0.3 of the module.