Remove .exe so PowerShell Core works on Linux (and in n8n Docker). Windows do not care about the missing .exe as it does not by default have any file like .cmd that would be called first.
Tips: If you want to test it without building you own docker image from docker.n8n.io/n8nio/n8n, exec into the running docker and install PowerShell -
# Install PowerShell (remember you have to build your own docker as this is only temporary)
apk add powershell
To make this custom node work before this is being merged -
# Create a .exe path
ln -s /usr/bin/pwsh /usr/bin/pwsh.exe
Remove .exe so PowerShell Core works on Linux (and in n8n Docker). Windows do not care about the missing .exe as it does not by default have any file like .cmd that would be called first.
Tips: If you want to test it without building you own docker image from docker.n8n.io/n8nio/n8n, exec into the running docker and install PowerShell -
To make this custom node work before this is being merged -