You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A production-ready PowerShell script module template designed to streamline the creation, testing, and delivery of enterprise-grade PowerShell modules. This template implements modern DevOps practices,
4
-
automated quality gates, and continuous delivery workflows right out of the box.
3
+
> A modern PowerShell module template with CI/CD, testing, semantic versioning, and automated publishing
4
+
5
+
A production-ready PowerShell module template with built-in CI/CD, testing, versioning, and publishing workflows using GitHub Actions.
Most PowerShell module repositories start the same way: a few scripts, some manual testing, and CI/CD added later—often inconsistently. This template flips that model.
16
+
17
+
**PSScriptModule is opinionated by design.**
18
+
It gives you a complete, production-grade foundation so you can focus on writing PowerShell code—not wiring pipelines.
19
+
20
+
### What makes it different?
21
+
22
+
-**CI/CD from day one**
23
+
Build, test, analyze, version, and publish automatically using GitHub Actions.
24
+
25
+
-**Best practices baked in**
26
+
Module structure, testing, security scanning, and documentation follow proven PowerShell and DevOps conventions.
27
+
28
+
-**Automation over ceremony**
29
+
Versioning, changelogs, releases, and publishing happen automatically based on your commits and pull requests.
13
30
14
-
This template solves the common challenge of setting up a professional PowerShell module project from scratch. Instead of manually configuring build scripts, testing frameworks, and CI/CD pipelines,
15
-
you can clone this repository and start writing your module's business logic immediately.
31
+
-**Works everywhere**
32
+
Tested on Windows, Linux, and macOS, with optional devcontainer support for consistent environments.
16
33
17
-
**Perfect for:**
34
+
-**Scales with your project**
35
+
Suitable for prototypes, internal tooling, and fully open-source modules published to the PowerShell Gallery.
18
36
19
-
- Open-source PowerShell projects
20
-
- Rapid prototyping of PowerShell modules
21
-
- Learning PowerShell module development best practices
37
+
If you’ve ever thought *“I just want to write PowerShell, not build pipelines”*, this template is for you.
22
38
23
39
## 🎬 How to Use This Template
24
40
@@ -31,40 +47,39 @@ you can clone this repository and start writing your module's business logic imm
31
47
32
48
## 📦 Features
33
49
34
-
When you create a module from this template, you immediately get:
50
+
When you create a module from this template, you get a fully wired, production-ready PowerShell module from day one.
35
51
36
-
✅ **CI/CD Ready**
52
+
### ✅ CI/CD Ready
37
53
38
-
- GitHub Actions workflows for CI, release, publishing and more
39
-
- Dependency management and caching
40
-
-Compatibility testing on Windows, Linux, and macOS
54
+
-End-to-end GitHub Actions workflows for build, test, release, and publishing
55
+
- Dependency management with intelligent caching for faster pipelines
56
+
-Cross-platform validation on Windows, Linux, and macOS
41
57
- Automated publishing to PowerShell Gallery and NuGet.org
42
58
43
-
✅ **Development Environment**
59
+
### ✅ Development Environment
44
60
45
-
- VS Code configuration (settings, recommended extensions)
46
-
- Build tasks pre-configured
47
-
- Run and debug configurations
48
-
- Devcontainer support for preconfigured sandboxed environments
61
+
- Opinionated VS Code setup (settings and recommended extensions)
62
+
- Pre-configured build, run, and debug tasks
63
+
- Devcontainer support for consistent, sandboxed development environments
49
64
50
-
✅ **Version Management**
65
+
### ✅ Version Management
51
66
52
-
-GitVersion for semantic versioning
53
-
- GitHub Flow (v1) release workflow
54
-
- Commit-based version bumps with`+semver:` keywords
55
-
-Changelog generation based on merged PRs
67
+
-Semantic versioning powered by GitVersion
68
+
- GitHub Flow–based release strategy
69
+
- Commit-driven version bumps using`+semver:` keywords
70
+
-Automatic changelog generation from merged pull requests
0 commit comments