Open TraGicCode opened 11 months ago
Did you try setting the interpreters
for powershell implementations? https://www.puppet.com/docs/bolt/latest/bolt_transports_reference.html#interpreters-7
Hello,
Yes but that didn't seem to work. It appears that the powershell interpreters are hardcoded and cannot be changed.
I believe 'switch to pwsh' is a must-have feature. The old PS 5 is out-of-date now.
winrm accepts a argument '-ConfigurationName Powershell.7' to use PS7, but here are a lot of places hardcoded with powershell.exe
I have the following powershell task:
The
Particular.ServiceControl.Management
powershell module ONLY works on pwsh.exe (powershell-core/powershell 7). How can i get bolt to use pwsh.exe instead of powershell.exe (v5) when running the following command.https://forge.puppet.com/modules/tragiccode/nservicebusservicecontrol