ModuleHelper - Automatically Create Modules and Save Functions to it

This module  makes creation of PowerShell modules very easy. This is revision 2 which fixes a problem that could lead to duplicate param() blocks in the module script.

When you have a function that you want to add to a module, or when you want to create your own modules from scratch, import my module and then do this:

Out-Module -Module myTools -Function SomeFunction

This will save the function SomeFunction into the module myTools (and creates the module if it does not exist). You can then see your module:

Get-Module -ListAvailable

And you can import your new module and use all the functions you saved to it:

Import-Module myTools

Get-Command -module myTools

Have fun!

Tobias Weltner (Microsoft MVP PowerShell)

P.S. I am doing PowerShell trainings throughout Europe, including basic classes, advanced classes, specialties like AD/GPO/Exchange and also VBScript2PowerShell-Guerilla workshops. Drop me a line: tobias.weltner@email.de!