Commands

Example

The following example generates an empty template from a local module path.

Export-HelpTemplate -Module .\Module.psd1 -Path .\Help.xml

After filling in all <!-- TODO --> comments and adding any elements from Help.xsd as desired, you can then compile and format the source document.

ConvertTo-Help -Module .\Module.psd1 -Path .\bin\Help.xml -TemplatePath .\Help.xml
Format-Help -Path .\Module-Help.xml -ContentPath .\bin\Help.xml -Transform .\maml.xslt -Property @{Version="1.0"}

Last edited Mar 16, 2014 at 12:30 PM by heaths, version 4