PowerShell/PSScriptAnalyzer
Download ScriptAnalyzer from PowerShellGallery observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 43
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 263.0
- age_days: 4174
- days_rel: 166
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
2149 stars · 413 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PSScriptAnalyzer is a static code checker (linter and formatter) for PowerShell scripts and modules, maintained by the PowerShell team. It applies built-in and custom rules based on PowerShell best practices and reports diagnostics with suggested fixes.
Use cases
- lint powershell scripts for best practice violations
- format powershell code automatically
- check powershell modules for uninitialized variables
- detect unsafe use of Invoke-Expression in scripts
- enforce powershell code style in CI pipelines
- write custom static analysis rules for powershell
When to choose
- you write or maintain PowerShell scripts or modules and want automated quality checks
- you need consistent PowerShell formatting across a team or codebase
- you want to catch common PowerShell defects before shipping
When to avoid
- you need linting for languages other than PowerShell
- you need dynamic runtime analysis or profiling rather than static checks
Facets
library · maturity active
linter formatter developer-tools developer-tools windows cross-platform cli powershell static-analysis code-quality best-practices powershell-gallery command-line automation linux macos
2 sources
- readme: https://github.com/PowerShell/PSScriptAnalyzer · fetched 2026-08-28 · 32743cb02091
- homepage: https://www.powershellgallery.com/packages/PSScriptAnalyzer/ · fetched 2026-08-29 · b0da5685ab61
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PowerShell/PSScriptAnalyzer | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="PowerShell/PSScriptAnalyzer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem