July 2018
Beginner
552 pages
13h 18m
English
We already mentioned that modules are packages for your functions. When creating a new module, try to follow the same principles as other module designers. Your module should not be a collection of all of your functions, but should fit a certain topic, such a technology, or maybe your department. Modules can help to structure your code.
When getting started with module development, most people tend to write thousands of lines of code in a single psm1 file. In development, this is what we call an anti-pattern. This particular anti-pattern is called the god class.
Read now
Unlock full access