Have you set vim shell to powershell? If so this answer might work. After hard searching my problem was solved by it.
At least see what shell you're using, or try to set vim shell to other shells if installed, e.g. set shell=/path/to/bash.exe, it might shed some light.