Chapter 10. Module manifests and metadata
This chapter covers:
The world is my world: this is manifest in the fact that the limits of language (of that language which alone I understand) mean the limits of my world.
Ludwig Wittgenstein, Tractatus Logico-Philosophicus
In chapter 9, we introduced PowerShell modules and covered the basics needed for using and writing modules. That chapter focused on simple ad hoc modules and ignored details like module descriptions and versioning. But it’s these details that make the difference between ad hoc and production scripting. Because one of the goals for PowerShell v2 was to enable production-oriented scripting in PowerShell, there needed to be a way to attach production-oriented metadata to our modules. This is where module manifests come in. They allow you to annotate and organize the pieces in more complex, multifile modules.