PlasterTemplates – a PowerShell module, containing templates for use with Plaster

Plaster allows developers to scaffold file and folder structure for a new PowerShell module.

Install

To install the PlasterTemplates module use the following command.

Install-Module -Name PlasterTemplates

Help

To get help use the following command.

Get-Help about_PlasterTemplates

Templates

PowerShellModule – create a new PowerShell module with Visual Studio Code, Pester, and Azure Pipelines support.

Use the following command to create a new module with a PowerShellModule template.

Invoke-Plaster -TemplatePath 'C:\Program Files\PowerShell\Modules\PlasterTemplates\Templates\PowerShellModule' -DestinationPath c:\PlasterCreatedModule\ -ModuleName PlasterCreatedModule -Description "Module created by Plaster" -Version 1.0 -Options VSCode, Pester, AzurePipelines, Helpers

The TemplatePath parameter value depends on the folder the PlasterTemplates module was installed into.

List available templates

To list templates available on the machine invoke the following cmdlet from Plaster module.

Get-PlasterTemplate -IncludeInstalledModules

Repository

https://github.com/sethworks/PlasterTemplates

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s