Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PowerShell Pro ToolsNew to Visual Studio Code? Get it now.
PowerShell Pro Tools

PowerShell Pro Tools

Ironman Software

|
284,859 installs
| (25) | Free
Powerful extensions for PowerShell development.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PowerShell Pro Tools

PowerShell Pro Tools for VS Code is now free!

PowerShell Pro Tools adds script packaging, Form Designers, variable explorer, VS Code automation and more!

❔ About Powershell Pro Tools 📕 Documentation 🧾 Changelog 🐛 Issues

Installation

Learn More

Features

  • Automate Visual Studio Code
  • Debugging Helpers
    • Run in new Terminal
    • One-Click Attach
  • .NET Decompiler
  • Enhanced Hover
    • AST Hover
    • Variable Value and Type Hover
  • Generate UI from a Function
  • Generate Tool from a Function
  • Compile to Executable
  • PowerShell Explorer
    • AST Explorer
    • Custom Tree View
    • History Explorer
    • Host Process Explorer
    • Modules Explorer
    • Providers Explorer
    • Reflection Explorer
    • Session Explorer
    • Variables Explorer
  • Profiler
  • Pin Session
  • Sign On Save
  • RapidSense
  • Refactoring
    • Convert to $_
    • Convert to $PSItem
    • Convert to Multiline Command
    • Convert to Splat
    • Export Module Member
    • Extract Function
    • Extract Selection to File
    • Generate Function from Usage
    • Generate Proxy Function
    • Introduce Using Namespace
    • Reorder Parameters
    • Split Pipeline
  • Rename Symbol
  • Out-VSCodeGridView
  • Quick Scripts
  • Windows Forms Designer

Automate Visual Studio Code

You can automate Visual Studio Code with PowerShell scripts. Script repetitive actions and make your own tools without having to build extensions.

Available Commands

Open Documents

Open-VSCodeTextDocument -FileName .\form.designer.ps1

Close Text Editors

Get-VSCodeTextEditor | Remove-VSCodeTextEditor

Get Document Text

Get-VSCodeTextDocument | Get-VSCodeTextDocumentText

Insert Document Text

$position = New-VSCodePosition -Line 0 -Character 2
Get-VSCodeTextDocument | Add-VSCodeTextDocumentText -Position $position -Text NewText

Remove Document Text

$Range = New-VSCodeRange -StartLine 0 -EndLine 0 -StartCharacter 0 -EndCharacter 10
Get-VSCodeTextDocument | Remove-VSCodeTextDocumentText -Range $Range

Setting Text Decorations

$Range = New-VSCodeRange -StartLine 0 -EndLine 0 -StartCharacter 0 -EndCharacter 55
Get-VSCodeTextEditor | Set-VSCodeTextEditorDecoration -BackgroundColor 'descriptionForeground' -Range $Range -Key 12321 -FontWeight bold

Send Text to a Terminal

Get-VSCodeTerminal | Where-Object Name -eq 'PowerShell Extension' | Send-VSCodeTerminalText -Text 'Write-Host "Hello World!"'

Showing Messages

Show-VSCodeMessage -Message 'Error!!!' -Type Error

Showing Messages with a Response

Show-VSCodeMessage -Message 'What should we do?' -Items @('Party', 'Sleep')

Showing a Quick Pick List

Show-VSCodeQuickPick -PlaceHolder 'What should we do?' -Items @('Party', 'Sleep')

Showing an Input Box

Show-VSCodeInputBox -PlaceHolder 'Enter some text'

Setting the Status Bar Message

Set-VSCodeStatusBarMessage -Message 'Hellllloooo'

Debugging Helpers

Run in New Terminal

Execute a PowerShell script in a new terminal instead of the integrated terminal.

One-Click Attach

Attached to external PowerShell hosts for debugging.

See it in action

.NET Decompiler

Decompile .NET types that are loaded into your PowerShell session.

Enhanced Hover

Enhanced hover support provides additional information about symbols within PowerShell scripts.

AST Hover

Variable Value and Type Hover

Generate UI from a Function

The PowerShell: Generate Windows Form command will generate a Windows form based on the function defined within a PS1 file.

Learn More

Generate Tool from a Function

The PowerShell Pro Tools: Generate Tool command will generate a form and compile it to an executable based on the function defined within a PS1 file.

Learn More

Compile to Executable

You can compile PowerShell scripts into executables using the Package Script as Exe function. Customize packaging with a package.psd1 file to create PowerShell 7 executables, services, hide the console window and more.

Learn More

Pin Session

Pin a session to a document to quickly switch between PowerShell instances.

PowerShell Explorer

The PowerShell Explorer displays an tree view with numerous sections developed for different aspects of your PowerShell environment.

AST Explorer

Custom Tree View

History Explorer

Host Process Explorer

Jobs Explorer

Modules Explorer

Providers Explorer

Reflection Explorer

Session Explorer

Variables Explorer

Profiler

Profile the performance of scripts and view the timing within VS Code.

Sign On Save

Sign scripts when they are saved with a configurable code-signing certificate.

RapidSense

Enable high performance, configurable IntelliSense for PowerShell in VS Code.

Learn More

Refactoring

Quickly adjust scripts with refactoring commands.

Convert to $_

Convert to $PSItem

Convert to Multiline Command

Convert to Splat

Export Module Member

Extract Function

Extract Selection to File

Generate Function from Usage

Generate Proxy Function

Introduce Using Namespace

Reorder Parameters

Split Pipeline

Rename Symbol

Out-VSCodeGridView

Out-GridView support for VS Code. Pipe your data directly to Out-VSCodeGridView and view it in the VS Code web view.

Quick Scripts

Bookmark scripts found anywhere on your system and access them in any workspace.

Windows Forms Designer

Design Windows Forms using the Windows Form Designer integrated with VS Code.

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