VS Code Extensions
PSToolkit — PowerShell Integration for VS Code

PSToolkit — PowerShell Integration for VS Code

by mjethwa-streamlit

Run, lint, format, and manage PowerShell scripts without leaving the editor. Snippet & cmdlet library free; linting, formatting, secret detection, and runner profiles with Pro.

Downloads

131

Rating

— (0)

Version

1.0.0

Last updated

Jun 11, 2026

Run, lint, format, and manage PowerShell scripts without leaving the editor. A lightweight in-editor toolkit so you stop juggling a terminal and copy-pasted snippets.

Free

  • Run the current script (Ctrl+F5) or selection (F8) in an integrated PowerShell terminal
  • Snippet library (param blocks, try/catch, advanced functions, REST calls…)
  • Cmdlet reference — searchable, insertable
  • Status-bar run button on .ps1 files

Pro

  • Linting — flags aliases (gci → Get-ChildItem), Write-Host, unapproved verbs, Invoke-Expression, empty catch blocks — with one-click fixes
  • Formatting — normalizes cmdlet casing, expands aliases, re-indents by block depth
  • Secret detection — finds plaintext passwords, API keys, and ConvertTo-SecureString -AsPlainText
  • Runner profiles — save a script + args and re-run in one click

Set pstoolkit.shellPath to pwsh (or a full path) to pick your PowerShell.

Get a Pro key at marketplace.dashovia.com/extensions/ps-toolkit.

Related extensions