December 9th, 2015

PowerTip: Use PowerShell to Create Module Manifest

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to build a module manifest for GitHub.

Hey, Scripting Guy! Question How can I use Windows PowerShell to build a module manifest for my module in GitHub?

Hey, Scripting Guy! Answer In Windows PowerShell 5.0 use the New-ModuleManifest cmdlet—for example, to create a sample
           manifest in the C:\Foo folder, type:

New-ModuleManifest –path C:\Foo\Sample.PSD1

Note This creates a full module manifest, including comments. This cmdlet also accepts parameters for some key points of data.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.