-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
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.

