
PowerShell
PowerShell 7 with PSScriptAnalyzer for script development and linting.
powershellpwshintunelintingscripting
Overview
Lightweight PowerShell 7 installation with PSScriptAnalyzer for script analysis and linting. Includes the VS Code PowerShell extension for IntelliSense, debugging, and integrated terminal support. For Azure automation and Intune management, see the Azure Operations tool which builds on this.
Script ID:
tool-powershellVersion:
1.0.0Script:
install-tool-powershell.shPowerShell Modules
| Package | Description |
|---|---|
| PSScriptAnalyzer | PowerShell script analysis and linting |
VS Code Extensions
| Extension | Description |
|---|---|
| PowerShell | PowerShell language support and debugging |
Installation
Install via the interactive menu:
dev-setup
Or install directly:
.devcontainer/additions/install-tool-powershell.sh
Full installation options (click to expand)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 PowerShell
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ID: tool-powershell
Name: PowerShell
Script version: 1.0.0
Category: LANGUAGE_DEV, Development Tools
Description: Installs PowerShell 7 with PSScriptAnalyzer for script development and linting
Default: Version 7.5.4
Usage:
Action:
install-tool-powershell.sh # Install PowerShell
install-tool-powershell.sh --uninstall # Uninstall PowerShell
Info:
install-tool-powershell.sh --help # Show help and usage information
PowerShell Modules:
- PSScriptAnalyzer
VS Code Extensions:
- PowerShell (ms-vscode.powershell) - PowerShell language support and debugging
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
