The VS Code terminal cannot be opened?

Open the terminal on VS Code and report an error "C:\ windows\ System32\ WindowsPowerShell\ v1.0\ powershell.exe" cannot start (exit code: 2)

! [picture upload.]

Feb.12,2022

it's normal when I turn off


the'\'in the path in the setting is regarded as an escape character. Use'/'to split the path, C:/windows/System32/Windows/PowerShell/v1.0/powershell.exe


first of all, make sure that the PowerShell in the system is normal and can run. However, it is generally recommended to set it to cmd or the bash, that comes with Git becomes

.
  

Why can't powershell be opened

Menu