Hello All,
I’ve been experiencing some issues with PowerShell. It displays an error : " Update-Help : Failed to update Help for the module(s) ‘ConfigDefender,
ConfigDefenderPerformance’ with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML
file for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is
valid or check your network connection and then try the command again.
At line:1 char:1
Few things to point out:
Application is running version 5.1
-Application is running in Admin mode.
-Network connection is running fine.
I’d appreciate your help. Thank you
Olaf
March 4, 2023, 11:21pm
2
Mustafa,
Welcome to the forum.
In my experiences it’s not worth the effort to debug those errors related to update help. Use the online help instead.
If you want to dive deeper into that issue you may start on one of these sites:
opened 02:20PM - 25 Mar 22 UTC
Issue-Enhancement
WG-Interactive-HelpSystem
### Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able… to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)
- [X] Search the existing issues.
- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).
- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).
### Steps to reproduce
When running update-help the following errors are seen...
PS C:\Windows\System32> update-help -force _Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' 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._
running the recommended command produces the same issue
PS C:\Windows\System32> update-help -UICulture en-US
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' 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.
### Expected behavior
```console
The update-help should not be showing these errors;
All the error text (mine is red) leads me to believe update-help as an operation has failed .
Why does the server respond with 404? Where did the help blob go?
```
### Actual behavior
```console
PS C:\Windows\System32> update-help
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' 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.).).
```
### Error details
```console
PS C:\Windows\System32> Get-Error
Exception :
Type : System.Exception
Message : Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' 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.
HResult : -2146233088
CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand
InvocationInfo :
MyCommand : Update-Help
ScriptLineNumber : 1
OffsetInLine : 1
HistoryId : 10
Line : update-help -UICulture en-US
PositionMessage : At line:1 char:1
+ update-help -UICulture en-US
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
InvocationName : update-help
CommandOrigin : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :
```
### Environment data
```powershell
PS C:\Windows\System32> $PSVersionTable
Name Value
---- -----
PSVersion 7.1.5
PSEdition Core
GitCommitId 7.1.5
OS Microsoft Windows 10.0.19042
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PS C:\Windows\System32> Get-Host
Name : ConsoleHost
Version : 7.1.5
InstanceId : 846ec299-7473-4bfc-a77d-c75aea9c9931
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
```
### Visuals

PS C:\> Update-Help -SourcePath 'C:\Powershell Updates'
Update-Help : Failed to update Help for the module(s) 'ConfigDefender, PSReadline, WindowsUpdateProvider' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI...
powershell
HI Olaf,
Thanks for your warm welcome
I’ll look into your suggestions. Thank you for the advice.