Forum Discussion
MargaretSpace24
Dec 10, 2024Copper Contributor
Unable to update help in MS PowerShell
Dear community,
I have just started learning Microsoft PowerShell, so I apologize in advance in case my problem turns out to be too trivial.
I have Windows 10 (Version 10.0.15063) installed on my virtual machine. PSVersion 5.1.15063.0
When trying to run Update-Help (in Administrator privilege) the process finished with multiple errors.
PS C:\> Update-Help
Update-Help : Failed to update Help for the module(s) "AppBackgroundTask, AppvClient, AssignedAccess, BitsTransfer, CimCmdlets, Defender, DnsClient, iSCSI, ISE, Microsoft.PowerShell.Archive, Microsoft.PowerShell.Core, Microsoft.PowerShell.Diagnostics, Microsoft.PowerShell.Host, Microsoft.PowerShell.LocalAccounts, Microsoft.PowerShell.Management, Microsoft.PowerShell.ODataUtils, Microsoft.PowerShell.Operation.Validation, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility, Microsoft.WSMan.Management, NetAdapter, NetEventPacketCapture, NetLbfo, NetNat, NetQos, NetSwitchTeam, NetTCPIP, PackageManagement, PowerShellGet, PSReadline, PSScheduledJob, PSWorkflow, PSWorkflowUtility, ScheduledTasks, Storage, TLS, UEV, WindowsDeveloper License, WindowsErrorReporting, WindowsSearch" with UI culture(s) {ru-RU}: Unable to connect to Help content. The server on which Help content is stored might not be available. Verify that the server is available, or wait until the server is back online, and then try the command again.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand
Update-Help : Failed to update Help for the module(s) "PSDesiredStateConfiguration, VpnClient" with UI culture(s) {ru-RU}: 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
+ Update-Help
+ ~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
I would be extremely grateful if anyone could help me deal with this issue!
Not all modules have localized help; If you set it to EN-US... Does that work? Update-Help -Verbose, what does that give you?
- SriniThumala
Microsoft
Based on the error message it looks like a network issue. Are you going through a proxy or firewall? It could be that they are not allowing all IP addresses for the Microsoft download center. If you are trying to understand which IPs to allow it is here. https://www.microsoft.com/en-us/download/details.aspx?id=53602
Hopefully this will resolve your issue.
Regards,
Srini