PowerTip: Use PowerShell to Create Module Manifest

Doctor Scripto

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.

0 comments

Discussion is closed.

Feedback usabilla icon