Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Get-Help is not reading from release-specific 6.0.0.n help directory #2649

Copy link
Copy link
@juneb

Description

@juneb
Issue body actions

Beginning in PowerShell 6.0.0.12, the version-specific (release-specific) $pshome\en-us ($env:ProgramFiles\PowerShell\6.0.0.12\en-US) has its own help files. But, Get-Help in 6.0.0.12 is reading its help files from $pshome in 5.1 (C:\Windows\System32\WindowsPowerShell\v1.0\en-us).

If we take the time to create release-specific help files, Get-Help should read them.

Repro:
The about topics have characteristic off-by-one errors, so you can tell which one Get-Help is reading.

In the image below, note that the 5.1 en-US About topics have this name error:

about_Aliases <--- extra line
TOPIC
about_aliases

The 6.0.0.12 en-US About topics have a different name error:

TOPIC
about_aliases

about_aliases    #<-- extra name line

SHORT DESCRIPTION

So, when you run Get-Help, you can tell that it's pulling the older file.
screenshot 2016-11-09 09 54 33

Here's the effect:
screenshot 2016-11-09 09 45 12

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.