PowerShell Modules can be Painful
Building a PowerShell module should not be too hard. In fact, on the surface it’s pretty simple. Collect a bunch of functions, classes, enumerations, (whatever else you want), bundle them together and provide a wrapper in the form of a PSD1/PSM file. Building a module should be straightforward – and it is – except when you make dumb mistakes. Don’t make my mistakes.