Skip navigation
Can I edit PowerShell in VS Code

Can I edit PowerShell in VS Code

Q. Can I edit and debug PowerShell in VS Code?

A. Yes. VS Code is an open, free, very lightweight editor based on Visual Studio. It can be used to edit many different languages and is built on an extensible framework. An extension is available to add knowledge of PowerShell to VS Code.

The repository for the project is at and instructions for its use at

To add PowerShell simply add the extension by pressing Ctrl + P and entering:

ext install PowerShell

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.