{{Description}}
Install-Module -Name {{ModuleName}} -Scope CurrentUsergit clone {{ProjectUri}}.git
cd {{ModuleName}}
./build.ps1 -Task Build -Bootstrap
Import-Module ./Output/{{ModuleName}}/*/{{ModuleName}}.psd1- PowerShell 5.1 or later (Desktop or Core)
- Windows, Linux, or macOS
# Import the module
Import-Module {{ModuleName}}
# Get help for available commands
Get-Command -Module {{ModuleName}}
# Example usage
Get-{{Prefix}}Example -Name 'World'| Command | Description |
|---|---|
Get-{{Prefix}}Example |
Example public function |
- PowerShell 5.1+ or PowerShell 7+
- Git
# Clone the repository
git clone {{ProjectUri}}.git
cd {{ModuleName}}
# Bootstrap dependencies and build
./build.ps1 -Task Build -Bootstrap
# Run tests
./build.ps1 -Task Test{{ModuleName}}/
├── {{ModuleName}}/ # Module source
│ ├── Public/ # Exported functions
│ └── Private/ # Internal helpers
├── tests/ # Pester tests
│ ├── Unit/ # Unit tests
│ ├── Meta.tests.ps1 # Code style tests
│ ├── Manifest.tests.ps1 # Manifest validation
│ └── Help.tests.ps1 # Help documentation tests
├── docs/ # Documentation
├── .github/workflows/ # CI/CD pipelines
└── build.ps1 # Build entry point
./build.ps1 -Help| Task | Description |
|---|---|
Build |
Build the module to Output/ |
Test |
Run all tests with code coverage |
Analyze |
Run PSScriptAnalyzer |
Pester |
Run Pester tests only |
Clean |
Remove build artifacts |
Publish |
Publish to PowerShell Gallery |
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
./build.ps1 -Task Test - Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
See CHANGELOG.md for version history.