# 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.

```powershell
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](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/powershell-extension
