You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-Help reports multiple versions of conceptual help topics for side-by-side modules #9215
If you have 2 versions of a module installed side by side, the conceptual help topics from both versions are reported by Get-Help, in list form.
Not only is it hard to tell which is which, it is non-obvious how to display their content.
As an aside: There is currently no way to ask for a given module version's help specifically.
Steps to reproduce
Run the following Pester test:
Note: This test installs the stable version of PSReadLine (1.2) alongside the the 2.0.0-beta3 version that ships with PowerShell Core 6.2.0-rc.1 with -Scope CurrentUser.
Describe "Duplicate conceptual help topic test." {
BeforeAll {
# Install the stable version of PSReadLine (1.2) alongside the # the 2.0.0-beta3 version that ships with PowerShell Core 6.2.0-rc.1Install-Module-Scope CurrentUser PSReadLine -Force
}
It "Only 1 about_psreadline topic is found." {
(Get-Help about_PSReadLine |Measure-Object).Count | Should -Be 1
}
}
Expected behavior
The test should pass.
Actual behavior
The test fails:
[-] Only 1 about_psreadline topic is found. 80ms
Expected 1, but got 2.
Activity
iSazonov commentedon Nov 30, 2019
Continue in #11205