Visual Studio Code Tips – Switch between Command Prompt vs Powershell in Visual Studio Code Terminal

This video explained to Switch between Command Prompt (cmd.exd) and Powershell in Visual Studio Code Terminal.

Switch between Command Prompt vs Powershell in Visual Studio Code Terminal

Command Prompt

  • It’s command line interpreter for the Microsoft Windows Operating System
  • It’s string-based & older batch language with standard set functions
  • It’s only interpret Batch Commands
  • The Output generated as just Stream of Text

Powershell

  • It’s a task-based command line interface & scripting language based on .Net framework
  • It is used to much more powerful functions
  • It’s can interpret both Batch Commands & Powershell Commands
  • The Output generated as Collection of Objects

Steps 1: Go to Terminal and Select Default Shell

Step 2: Select Command Prompt or Windows PowerShell

Step 3: Reload the Visual Studio code to changes to reflect, Refer the post: http://theblogreaders.com/visual-studio-code-tips-reload-restart-visual-studio-code-window/

Please check the below video for more info:

Written by 

Salesforce MVP | Lightning Champion | 17x Salesforce Certified | Application Architect | 7x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *

*