Forum Discussion
kochetov_oleksii
Jan 28, 2022Copper Contributor
PowerShell UPDATE-HELP error
Dear Community, I am a complete beginner with MS PowerShell. While making my first steps with PowerShell, I tried to update Help System by means of running UPDATE-HELP cmdlet on my PowerShell 5.1 - ...
- 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."
Jan 28, 2022
https://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."
"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."
kochetov_oleksii
Jan 28, 2022Copper Contributor
Hello @#Harm_Veenstra
Thank you very much for your help. I've followed proposed solution and everything worked smoothly.
BR, Alex (Oleksii)
Thank you very much for your help. I've followed proposed solution and everything worked smoothly.
BR, Alex (Oleksii)