Boilerplate project for PowerShell modules.
You can clone this repository if you intend to create new PowerShell module project.
TODO after cloning:
- Edit
settings.ps1
:- Change value of the
$ModuleName
variable at line 1 with your module name. - Change value of the
$ModuleVersion
variable at line 2 with your module version.
- Change value of the
- Edit
source/manifest.psd1
:-
Change value of the
GUID
key.Tips: you can generate a new GUID with the
New-GUID
Cmdlet. -
Set/change value of any other required keys.
-
- Remove example functions and classes.
-
Unblock downloaded scripts
Get-ChildItem -Filter *.ps1 -Recurse | Unblock-File
-
Build the module (module
InvokeBuild
is required)Invoke-Build -Task CompileModule -Bootstrap
-
You can import the release module in your current PS session
./import.release.ps1
-
... And/or install it too :)
./install.release.ps1
Please, read the CONTRIBUTING file to get more information.