Forum Discussion
PowerShell UPDATE-HELP error
- Jan 28, 2022https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module-in-windows-powershell-5-1/
"The root problem in Windows PowerShell 5.1 is that the module is automatically loaded at startup using the PSReadline name (with the lowercase l). Use the following steps workaround this problem and update the help.
Close all powershell.exe processes. Then rename the PSReadline module folder name to PSReadLine.
Open an powershell.exe session in Administrator privilege.
Run Remove-Module PSReadLine to remove the auto-loaded PSReadLine module.
Run Import-Module PSReadLine (use PSReadLine with capital L).
Then run Update-Help -Module PSReadLine -Force
These steps load the module in your session using the new name, which allows Update-Help to use the correct name to find the help content."
Thanks for your suggestions but unfortunately this steps didn't work for me and getting below error please help with other solutions or how about installing a new version of Powershell which doesn't have this issues I am using WIN Datacenter 2019 server 64bit. with PS version 5.1.17763.592
PFA.
- RajeshlankeFeb 08, 2023Copper Contributor
Harm_Veenstra No luck ! even I executed below 2 command same issue .. but I would like to confirm this issue will not impact on my Powershell Administrative stuff like running scripts, commands everything will be accessible just If I go for help with that listed command/module which is currently giving error that i won't able to get info. right?
Also please suggest how about installing a whole new version of Powershell which doesn't have this issue can you help with correct version.- RajeshlankeFeb 20, 2023Copper ContributorHi All
Anyone can help me on this- AndrejsSobolevsApr 15, 2024Brass Contributor
Rajeshlanke Hi,
https://stackoverflow.com/questions/43323123/warning-unable-to-find-module-repositories.
Look into section, where:
notepad $profile
and copy paste this bit changing your proxy details:
[system.net.webrequest]::defaultwebproxy = new-object system.net.webproxy('http://webproxy.yourCompany.com:PORT') [system.net.webrequest]::defaultwebproxy.credentials = System.Net.CredentialCache]::DefaultNetworkCredentials [system.net.webrequest]::defaultwebproxy.BypassProxyOnLocal = $true
Setup your proxy connection. Then it should work. For me it helped a lot. 😉
Andrej