For the complete documentation index, see llms.txt. This page is also available as Markdown.

PoshTools VS

PowerShell Tools for Visual Studio

PowerShell Pro Tools for Visual Studio adds a PowerShell-focused development experience to Visual Studio. It provides editor services, project templates, debugging, analysis, test discovery, packaging, and UI design tools for PowerShell scripts and modules.

Use this tool when Visual Studio is your primary IDE or when you want PowerShell project support alongside .NET development.

Features

  • Syntax highlighting and IntelliSense for PowerShell files.

  • Local and remote script debugging.

  • PowerShell project and item templates.

  • Pester unit test discovery through the Visual Studio Test Explorer.

  • PSScriptAnalyzer integration.

  • Refactoring commands and go to definition.

  • PowerShell Interactive Window.

  • Script packaging and MSBuild integration.

  • Windows Forms designer support.

  • Windows PowerShell and PowerShell 7 support.

Quick Examples

Create a PowerShell project from File > New > Project, select a PowerShell project template, and press F5 to run or debug the script entry point.

Package a script from a project by configuring the PowerShell project properties or by using the MSBuild packaging task documented in Packaging in Visual Studio.

Design a Windows Forms UI from Visual Studio with the form item templates and designer documented in User Interface Design.

Downloads

More Information

Last updated