Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
- Install Configuration Manager console.
- Install PlatyPS 0.14.2
Import-Module ConfigurationManager
Import-Module platyps
- Splat parameters:
$parameters = @{ Path = 'c:\Users\aaroncz\git\sccm-docs-powershell\sccm-ps\ConfigurationManager' LogPath = 'c:\Users\aaroncz\platyps\ConfigurationManager\20210727.txt' RefreshModulePage = $true AlphabeticParamsOrder = $true UpdateInputOutput = $true ExcludeDontShow = $true Encoding = [System.Text.Encoding]::UTF8 }
Update-MarkdownHelpModule @parameters
Expected behavior
PlatyPS runs normally for cmdlets in both AdminUI.PS.dll (~1040 cmdlets) and AdminUI.PS.psm1 (~130 cmdlets)
Actual behavior
For all ~130 cmdlets in AdminUI.PS.psm1, PlatyPS returns the following error:
`WARNING: [GetHelpFileName] Cannot find module for command 'Remove-CMUserCollectionQueryMembershipRule'`
And it removes the **external help file** value from the cmdlet article metadata
Reference #528, which was closed when this issue was supposed to be fixed in 0.14.2.
Error details
No response
Environment data
PS C:\WINDOWS\system32> get-module platyPs -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 0.14.2 platyPS {New-MarkdownHelp, Get-MarkdownMetadata, New-ExternalHelp,...
Script 0.14.0 platyPS {New-MarkdownHelp, Get-MarkdownMetadata, New-ExternalHelp,...
PS C:\WINDOWS\system32> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.22000.653
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22000.653
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Visuals
Example of diff in VSCode showing external help file value change: