Skip to content

My collection of useful Powershell modules and my Powershell module BoilerPlate

License

Notifications You must be signed in to change notification settings

johannesprinz/Powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Powershell

My collection of usefull Powershell modules

####Modules All modules stem from my Boilerplate module and use psake, Pester, PSScriptAnalyzer and PowershellGet. ######Boilerplate This module I use to stub out new powershell modules. It sets up the new project structure for the powershell module including automated build scripts, testing frameworks and nuget packaging functions.

To use:

  1. Make the required edits to Modules\BoilerPlate\BoilerPlate.nuspec if you're considering using nuget and/or PsGet. Note:
  • You will need to use your own NuGet.exe if you'd like to publish the package
  • Upcoming changes will be made to work with PowershellGet instead of nuget
  1. Run Build-Dependencies.ps1 to install the dependecies mentioned above
  2. Launch Modules\BoilerPlate\here.cmd Invoke-psake Make-Module
  3. Enter the name of the new module
  4. Launch Modules\MyNewModule\here.cmd Invoke-psake Build
  5. Checkout the new nuget package in Modules\MyNewModule\bin which is also where the test results are logged.
  6. Thats it now edit and add to the functions in the Modules\MyNewModule\Functions directory and remeber to write tests.

The sample Format-HelloWorld.ps1 function is now my personal template for all functions going ahead. Hope this give you value. Happy days

About

My collection of useful Powershell modules and my Powershell module BoilerPlate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published