This updates the powershell detection to look for the `pwsh` executable
and use it when the powershell executable is not available.
This updates the powershell detection to look for the `pwsh` executable
and use it when the powershell executable is not available.