"/bin/sh: 1: powershell: not found "
groups.google.com › g › ansible-projectApr 25, 2018 · Subject: Re: [ansible-project] "/bin/sh: 1: powershell: not found ". We don't support PowerShell core (pwsh) and the PowerShell/WinRM is currently only designed for Windows hosts which use PowerShell.exe not pwsh.exe. As I said, the issue you have is that you are running the PowerShell module on the localhost as a local command and not on the ...