Skip to content
John McCrae edited this page Nov 29, 2018 · 4 revisions

Welcome to the New-MyPSModule wiki!

New-MyPSModule

A PowerShell module that uses Plaster to create a new module for you! In essence, a module-building module that builds modules!

This module is based on some really fine work by Mike Robbins, David Christian, Markus Kraus and Kevin Marquette.

When you run the module with all options accepted it will create every single thing you need to fully create, test, and deploy your module from the various files, the nuspec file needed to create a package, help file stubs and everything in between.

Compatibility

This module is designed to run under PowerShell Core or PowerShell Desktop so it will run correctly on Windows, OSX and Linux

Installation

Pull the files down and install them where you wish.

Usage

import-module new-mypsmodule.ps1
New-MyPSModule -MyNewModuleName mynewmodule -BaseManifest PlasterManifest-extended2.xml -Modulepath "C:\modules" -OR- "~/modules"

Where to start

Read about the dependencies in the header of the new-mypsmodule.ps1 file and install them as need be

Clone this wiki locally