Solution template I use to launch any project with some basic PowerShell automation and Psake orchestration
This project has been created in an effort to standardize and localize the platform delivery mechanism for all my solutions. This solution holds the PSake bootstrap code.
To get started run
- README.cmd for windows.
and explore all the tasks available. The first execution may prompt you to install
some prerequisite PowerShell tools and modules to ensure all other tasks are runnable.
To exercise the automation pipeline in it's entirety run Invoke-psake Deploy
- Launch
README.cmd
- Run >
Invoke-psake Clean
- Copy the entire content to a new location
- Rename the script\Module\PSBoilerplate\PSBoilerplate.psm1 module file
- Rename the script\Module\PSBoilerplate module folder
- Launch the copied
README.cmd
- Run >
Invoke-psake Deploy
- And you should be all set.
Once set you should only have to modify the tasks*.ps1
files and add/remove
.ps1 files to and from the Functions
folder.
- Deep dive into how this project is wired up.
- Core orchestrations explained.
- pester PowerShell testing framework
- PSScriptAnalyzer PowerShell linting tool