PowerShell Extension

noun

say it: “POW-er-shel ek-STEN-shun” /ˈpaʊərˌʃɛl ɪkˈstɛnʃən/

Microsoft's free add-on for the VS Code editor that colors PowerShell scripts, suggests commands, underlines mistakes and runs a script with one key.

What is the PowerShell extension?

The PowerShell extension is Microsoft's free add-on for VS Code. It colors each part of a script, suggests commands as you type, underlines problems before you run anything, and runs the whole script with F5 in a terminal inside the editor.

Set-Location "$HOME\terminal-practice\scripts"
code .     # opens the folder in VS Code
# In VS Code, F5 runs greeting.ps1 in the terminal below it:
# Hello, Sam!

In a sentence

  • “Sam installed the PowerShell extension and his script lit up in colors.”
  • “Before clicking Install, check that the PowerShell extension says Microsoft as its publisher.”

Level: Apprentice · More PowerShell terms at this level

Updated