Closed
Description
The SCCM ConfigurationManager module consists of two files:
- AdminUI.PS.dll
- AdminUI.PS.psm1
Both files contain cmdlets.
New-MarkdownHelp
creates the following help files.
- AdminUI.PS.dll-Help.xml
- AdminUI.PS-help.xml
PowerShell only loads the help from AdminUI.PS.dll-Help.xml
. If you change the name of the second help file to AdminUI.PS.psm1-help.xml
, then help is loaded from both files.
According to this document: https://docs.microsoft.com/powershell/scripting/developer/help/naming-help-files#script-workflow-help-files, the correct filename should be <ScriptModule>.psm1-help.xml
.
New-MarkdownHelp
needs to create that filename in the external help file:
metadata of the cmdlet markdown file.