New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update-Help doesn't install core About topics #2028
Comments
I've been experiencing the same problem even in PS 5 -- Downloading the Windows 10 ISO as of three days ago and doing a fresh install gets you PowerShell 5.1 with these same help topics, and PS 4 (on a fresh Server 2012 R2 install) seems to include everything. EDIT: I did another test and noted that 2012R2 (PS4) includes only a couple of about_ topics until Get-Help is run for the first time. Then it downloads the full set. What I'm not clear on now is: How does I'm trying to figure out how to fix this manually on my Windows 10 machine. Should it be possible for me to correct some kind of help manifest that is currently missing the the online locations for the core about topics? |
After looking at this earlier and looking between what the differences are between PowerShell v4 & v5+ (on 2012R2) it seems that the issue is that the help cab file for Microsoft.PowerShell.Core doesnt include the about_* topic files for WMF 5 has been installed This means that machines that have had WMF4 & have had Update-Help run on them which were then upgraded to WMF5 (WinX -> Win10) will have the core about_* topics where as machines that started on WMF5+ are missing them (confirmed on 3 different Win10 builds, a 2012R2 machine updated to WMF5 & a 2012R2 machine updated to WMF5.1 Preview) I have a fix for this which essentially has zipped up the about_* topics from a new 2012R2 build on Wmf4 that has then had Update-help run and made this zip file available at https://github.com/kilasuit/Install-AboutHelp & the Install-AboutHelp.ps1 is available on the PSGallery as well via Find-Script Install-AboutHelp Ideally the cab file should be updated from the 5.0.7.0 version to 5.0.8.0 and re-include the about_* topic files |
Still not there in v6.0.0-alpha.10. |
Something that may be contributing to the get-help issues people (like me) are experiencing are that some help files are currently being downloaded by update-help as This great answer to a StackOverflow question I asked includes some neat instructions for correcting this locally. The same issue was also present for some module help files (like PSScheduledJobs), and once I combined this with @kilasuit's excellent solution, I think my help files are finally back to the level of functionality they had prior to WMF 5. |
This is also an issue in Server 2016 too as well as still being an issue in the latest v6 alpha too. |
I don't really have the expertise to say this with confidence, but it appears that as of today, update-help will pull down all of the missing about_* topics, as well as those for the PSScheduledJob and PSWorkflow modules, HOWEVER they will be missing the 9-30-2016:
9-30-2014
Should a different bug be opened for this? The current version of this file on the web has the proper formatting. |
this should be fixed on Windows now |
@zjalexander - I can confirm that this is resolved from tests that I've done on a few new builds yesterday including Server 2016 |
Will this fix be in alpha.14? |
@Liturgist the fix should be live right now - the underlying issue was with the help content, and totally independent of the PowerShell code. I just haven't gotten around to confirming it on PS Core yet :) |
When you run Update-Help in PowerShell Core 6.0.0.9 on Windows 10.0.14905, you get the XML help, and About help for CimCmdlets and Pester modules, but no core About help.
Steps to reproduce
In PowerShell 5.1: Start-Process 'C:\Program Files\PowerShell\6.0.0.9\powershell.exe' -Verb RunAs
In PowerShell 6.0.0.9 (elevated): Update-Help -Verbose
Expected behavior
Installs About topics in 'C:\Program Files\PowerShell\6.0.0.9\en-US' or somewhere else in 6.0.0.9.
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: