Build production‑ready PowerShell modules in seconds. NewModuleTemplate delivers a complete, opinionated, best‑practice foundation — tests, docs, analyzer rules, strict mode, Git initialization, and more — all generated automatically.
View on PowerShell GalleryPowerShell modules deserve more than a folder and a manifest. This is the professional, modern, batteries‑included foundation for real‑world module development.
Every module starts with a clean, modern layout that follows industry best practices.
Consistency and quality from day one — no more mismatched coding standards.
PlatyPS integration gives you Markdown help files with a single command.
Choose between a complete production‑ready module or a lightweight minimal template.
Disable tests, docs, analyzer rules, scripts, or Git initialization with simple switches.
Automatic repo creation, .gitignore, .gitattributes, and line‑ending normalization.
Ready‑to‑run test suite included. Just write your tests and run Invoke-Pester.
Generate clean, versioned Markdown help files instantly.
Static analysis and strict mode ensure your module stays clean and consistent.
Plaster is a flexible templating engine. NewModuleTemplate is a modern, opinionated, production‑ready scaffolder.
Template‑driven, flexible, but generic.
Great for custom templates, but offers no guidance on modern module structure.
The modern standard for PowerShell modules.
Strict mode, analyzer rules, Git initialization, tests, docs, build scripts — all included.
NewModuleTemplate provides two modes — Full and Minimal — plus fine‑grained switches that let you tailor the scaffold to your exact needs.
Generates a complete, production‑ready module structure including:
Generates only the essentials:
No tests, no docs, no analyzer, no scripts, no Git.
Full Mode can selectively disable components:
-NoTests-NoDocs-NoAnalyzer-NoScripts-NoGitBuild exactly the module you want — no clutter.
New-ModuleTemplate -Path "C:\Projects" -Name "MyModule"
MyModule/
MyModule.psm1
MyModule.psd1
Public/
Private/
Tests/
Docs/
Scripts/
Analyzer/
README.md
CHANGELOG.md
.gitignore
.gitattributes
NewModuleTemplate includes ready-to-run build and publish scripts that streamline your release workflow. Generate documentation, run tests, validate analyzer rules, and publish to the PowerShell Gallery with confidence.