PoshCode/PowerShellPracticeAndStyle resource
The Unofficial PowerShell Best Practices and Style Guide observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4568
- days_rel: n/a
- days_push: 1202
- n_releases_24m: 0
Adoption not part of the score
2427 stars · 295 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An unofficial community-maintained best practices and style guide for PowerShell, published as a GitBook and licensed under CC BY-SA 4.0. It covers code layout, function structure, naming conventions, error handling, security, and building reusable tools.
Use cases
- how should I format my PowerShell scripts
- PowerShell naming conventions for functions and variables
- best practices for writing reusable PowerShell modules
- how to handle errors in PowerShell scripts
- PowerShell style guide for team code reviews
- how to structure PowerShell functions and comment-based help
When to choose
- you want community consensus guidelines for writing readable, maintainable PowerShell
- you are defining a team coding standard for PowerShell scripts and modules
- you are learning PowerShell and want to avoid common pitfalls
When to avoid
- you need an automated linter rather than prose guidelines (use PSScriptAnalyzer)
- you need official Microsoft documentation or normative rules
- you need style guidance for a different shell or language
Facets
learning-resource · maturity maintenance
documentation developer-tools developer-tools programming-languages tutorials cross-platform windows powershell style-guide best-practices coding-conventions community-guide automation linux macos
2 sources
- readme: https://github.com/PoshCode/PowerShellPracticeAndStyle · fetched 2026-08-28 · 46df2e958a42
- homepage: https://poshcode.gitbooks.io/powershell-practice-and-style · fetched 2026-08-29 · dfc15699daec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PoshCode/PowerShellPracticeAndStyle | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="PoshCode/PowerShellPracticeAndStyle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem