PowerShellModule Sample code to go with my post on how to use it. I also break things down a little in how the build script works. There is a small post about the functions within this module.