Creating templates

Creating a new template starts off easily enough. By using the cmdlet New-PlasterTemplate, you can create a new, well-formed Plaster manifest that you can add to afterwards:

# List the default (shipped) templatesGet-PlasterTemplate# List all templatesGet-PlasterTemplate -IncludeInstalledModules# Create new, empty templatemkdir .\PlasterTemplates\FirstTemplate -ForceNew-PlasterManifest -TemplateType Project -TemplateName FirstTemplate -Path .\PlasterTemplates\FirstTemplate\plasterManifest.xml# The template needs to be extended first# See the online help at https://github.com/PowerShell/Plaster/blob/master/docs/en-US/about_Plaster_CreatingAManifest.help.md# or use Get-HelpGet-Help about_Plaster_CreatingAManifestpsedit .\PlasterTemplates\FirstTemplate\plasterManifest.xml ...

Get Learn PowerShell Core 6.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.