PowerShell divide by zero error (in emacs eshell.) (2016)
same issue with docker, see
Solution
2016-08-23 David Wilson (https://x.com/daviwil) of PowerShell team gave solution:
this is probably because PSReadLine is treating it like a terminal. You may need to disable that module when running in eshell
If you only ever want to use PowerShell inside of eshell you could create a profile that unloads the module on startup (1/2)
in a normal terminal run powershell, type ‘vim $profile’ add “Remove-Module PSReadLine” there, save, then run powershell in eshell