What's the problem I'm having? I get the following error when running 'az login' from the terminal in Visual Studio code:
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe: Invalid argument
What's the environment? I'm running Visual Studio code in Windows 10 (version 1809, OS build 17763. 1158). I'm using Ubuntu 18.04 with WSL 1 and I've set my terminal to use "C:\Windows\System32\bash.exe"
I seem to have problems with PowerShell launching from VS code. Does anyone know if it's possible to configure VS code to use cmd rather than PowerShell when doing an az login? Any other suggestions are welcome. Thanks.

