Using powershell_exec in chef-shell (Could not open library 'Chef.PowerShell.Wrapper.dll)

Hi,
I've installed current release (4.4.50) chefDK and trying to experiment with powershell_exec in chef-shell:

chef (15.4.45)> recipe_mode
chef:recipe (15.4.45)> powershell_exec('write-host "stuff"')
Traceback (most recent call last):
        8: from (irb#1):1
        7: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/chef-15.4.45-universal-mingw32/lib/chef/mixin/powershell_exec.rb:101:in `powershell_exec'
        6: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/chef-15.4.45-universal-mingw32/lib/chef/mixin/powershell_exec.rb:101:in `new'
        5: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/chef-15.4.45-universal-mingw32/lib/chef/powershell.rb:39:in `initialize'
        4: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/chef-15.4.45-universal-mingw32/lib/chef/powershell.rb:51:in `exec'
        3: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/ffi-1.11.1-x64-mingw32/lib/ffi/library.rb:99:in `ffi_lib'
        2: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/ffi-1.11.1-x64-mingw32/lib/ffi/library.rb:99:in `map'
        1: from C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/ffi-1.11.1-x64-mingw32/lib/ffi/library.rb:145:in `block in ffi_lib'
)oadError (Could not open library 'Chef.PowerShell.Wrapper.dll': The specified module could not be found.

What am I missing?

powershell_exec was written as an experimental capability to improve upon powershell_out's launch speed when called repetitively and provide the capability to marshal between Ruby and PowerShell objects. It is included in Chef Infra Client but possibly not by the Chef DK and Chef Workstation installations since Chef 15 was released.

If you're really keen to experiment with it then please reach out to me directly (stuart at chef.io) and note it is unlikely to be supported going forward.

For something more stable I would stick with the powershell_out implementation.

Stuart