Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run in PowershellNew to Visual Studio Code? Get it now.
Run in Powershell

Run in Powershell

Toby Smith

|
99,406 installs
| (6) | Free
Runs scripts in a new Powershell terminal outside of VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run-in-Powershell

This extension allows you to run .ps1 files in a powershell terminal external to VS Code.

Features

  • Run files in terminals external to VS Code
  • Optionally use Powershell Core
  • Optionally run the terminal with admin privileges

File Context Menu

You can run your .ps1 scripts in terminals external to VS Code by using the file context menu.

GIF showing how to use the context menu functionality of this extension

Editor Title

You can also run the commands from the editor title

Image showing how to use the editor title functionality of this extension

Powershell Core

To use Powershell Core, configure the location of your .exe in the settings, else leave it empty.

Image showing how to enable Powershell Core in this extension

License

Run-in-Powershell is licensed under the ISC License.

Run-in-Powershell is protected by License Cop.

Icons by Icons8.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft