-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
Running PowerShell 7.2.6 as Admin, Update-Help fails:
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, DefenderPerformance, Dism, Get-NetView, Kds, NetQos, PcsvDevice, Pester, PKI, Whea, WindowsUpdate' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
English-US help content is available and can be installed using: Update-Help -UICulture en-US.
Update-Help: Failed to update Help for the module(s) 'IISAdministration' with UI culture(s) {en-US} : Help content cannot be found. Make sure the server is available and the help content location is properly defined in the HelpInfo XML..
English-US help content is available and can be installed using: Update-Help -UICulture en-US.
, noting that "English-US help content is available and can be installed using: Update-Help -UICulture en-US."
Following the instructions to add '-UICulture en-US" to the Update-Help command also fails with the exact same error.
Expected behavior
Help updates correctly.Actual behavior
Update fails.Error details
get-error
Exception :
Type : System.Exception
Message : Failed to update Help for the module(s) 'IISAdministration' with UI culture(s) {en-US} : Help content
cannot be found. Make sure the server is available and the help content location is properly defined in the HelpInfo
XML..
English-US help content is available and can be installed using: Update-Help -UICulture en-US.
HResult : -2146233088
CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
FullyQualifiedErrorId : HelpContentNotFound,Microsoft.PowerShell.Commands.UpdateHelpCommand
InvocationInfo :
MyCommand : Update-Help
ScriptLineNumber : 1
OffsetInLine : 1
HistoryId : 2
Line : update-help
PositionMessage : At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
InvocationName : update-help
CommandOrigin : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :Environment data
$psversiontable
Name Value
---- -----
PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Microsoft Windows 10.0.22622
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0