Unlike ISE, the console (or terminal, as it is named) in VS Code must be configured. By default, the terminal in code uses cmd.exe.
The following process is used to make the terminal use PowerShell:
- Open User Settings from File and Preferences. The same may be achieved by pressing F1 and typing user settings followed by return.
- This opens two windows: a Default Settings file on the left and a settings.json on the right. The file on the right holds user-specific configuration that overrides or adds to the default.
- Expand the Integrated Terminal section in Default Settings (by clicking on the o9 symbol) to show the default values.