This extension provides rich PowerShell language support for Azure Data Studio. Now you can write and debug PowerShell scripts using the excellent IDE-like interface that Azure Data Studio provides.
- Windows 7 through 10 with Windows PowerShell v3 and higher, and PowerShell Core
- Linux with PowerShell Core (all PowerShell-supported distributions)
- macOS with PowerShell Core
Read the FAQ for answers to common questions.
- Syntax highlighting
- Code snippets
- IntelliSense for cmdlets and more
- Rule-based analysis provided by PowerShell Script Analyzer
- Go to Definition of cmdlets and variables
- Find References of cmdlets and variables
- Document and workspace symbol discovery
- Run selected selection of PowerShell code using F8
- Launch online help for the symbol under the cursor using Ctrl+F1
- Basic interactive console support!
You can install the official release of the PowerShell extension by following the steps in the Azure Data Studio documentation. In the Extensions pane, search for "PowerShell" extension and install it there. You will get notified automatically about any future extension updates!
You can also install a VSIX package from our Releases page and install it through the command line:
azuredatastudio --install-extension PowerShell-<version>.vsix
If you experience any problems with the PowerShell Extension, see the troubleshooting docs for information on diagnosing and reporting issues.
For any security issues, please see here.
There are some example scripts in the extension's examples
folder that you can
use to discover PowerShell editing and debugging functionality. Please
check out the included README.md file to learn more about
how to use them.
This folder can be found at the following path:
$HOME/.azuredatastudio/extensions/ms-vscode.PowerShell-<version>/examples
or if you're using the preview version of the extension
$HOME/.azuredatastudio/extensions/ms-vscode.powershell-preview-<version>/examples
To open/view the extension's examples in Visual Studio Code, run the following from your PowerShell command prompt:
code (Get-ChildItem $Home\.azuredatastudio\extensions\ms-vscode.PowerShell-*\examples)[-1]
Check out the development documentation for more details on how to contribute to this extension!
This extension is licensed under the MIT License. Please see the third-party notices file for details on the third-party binaries that we include with releases of this project.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.