Module Manifest
noun
say it: “MOD-yool MAN-uh-fest” /ˈmɑdʒul ˈmænəˌfɛst/
A PowerShell module's label file, which gives its version, author, description and the commands it shares.
What is a module manifest?
A module manifest is a module's label: a .psd1 file beside its code that says its version, who wrote it, what it does, which file holds its commands and which commands it shares. New-ModuleManifest writes one, and Test-ModuleManifest checks it.
New-ModuleManifest -Path .\PlaylistTools\PlaylistTools.psd1 -RootModule PlaylistTools.psm1 -ModuleVersion 1.0.0 -FunctionsToExport Get-Song, Measure-Playlist
In a sentence
- “Sam's module manifest names PlaylistTools.psm1 as its RootModule.”
- “After New-ModuleManifest, Get-Module showed version 1.0.0 from the module manifest.”
Level: Journeyman · More PowerShell terms at this level
Updated