question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get-Help cannot find about topics from Update-Help

See original GitHub issue

Prerequisites

Steps to reproduce

Modules with about topics are unable to be found if the help is delivered via Update-Help.

Update-Help PSReadline
Get-Help about_PSReadline

Expected behavior

Shows about topic

Actual behavior

Get-Help about_PSReadline

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
Add-History                       Cmdlet    Microsoft.PowerShell.Core Appends entries to the session history.
Clear-History                     Cmdlet    Microsoft.PowerShell.Core Deletes entries from the PowerShell session comm…
Get-History                       Cmdlet    Microsoft.PowerShell.Core Gets a list of the commands entered during the c…
Invoke-History                    Cmdlet    Microsoft.PowerShell.Core Runs commands from the session history.
about_Functions_Argument_Complet… HelpFile
about_History                     HelpFile
about_Line_Editing                HelpFile
about_Pipelines                   HelpFile
about_Tab_Expansion               HelpFile

Error details

N/A

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.0-rc.1
PSEdition                      Core
GitCommitId                    7.3.0-rc.1
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sdwheelercommented, Oct 31, 2022

@ThomasNieto OK, I can reproduce this problem.

@adityapatwardhan This is the problem we discussed where help is not found for a module installed in the user scope unless you manually copy the help to the module folder.

1reaction
sdwheelercommented, Oct 31, 2022

This is a bug in Get-Help. On my system I get the following output:

PS> get-help about_PSReadLine

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
about_psreadline                  HelpFile
about_PSReadLine                  HelpFile

The help system is seeing two files. I believe that one is from Windows PowerShell 5.1 and the other is the current version of help installed for PowerShell 7.x.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powershell Get-Help -Detailed cannot find help files
To view the Help topic for this cmdlet online, type: "Get-Help ... Update-Help -SourcePath c:\users\me\documents\PowershellHelp.
Read more >
All of the about_* topics are missing from my PowerShell ...
I've run update-help as administrator, but all of the about_ help topics are missing, EXCEPT for about_CimSession for some reason. That is, when ......
Read more >
Powershell help module not able to find help files in MacOS
-- To view the Help topic for this cmdlet online, type: "Get-Help Find-Module -Online" or go to https://go.microsoft.com/fwlink/?LinkID=398574.
Read more >
Install Help for Windows PowerShell
Run the "Update-Help" command at the Windows PowerShell prompt. It will download and install help information from Microsoft server one module at a...
Read more >
Unable to run Update-Help and missing info from Get-Help
Hello I noticed that when I attempt to use the Get-Help command I seem to be missing the 'Description' part and alot of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found