Forum Discussion
이영곤74
Jul 30, 2022Copper Contributor
Update-Help error
안녕하세요. 파워셀을 사용하려 는데 도움이 필요 합니다. 업데이트를 하는데 계속해서 이런 메시지가 나옵니다 Hello. I need help trying to use PoweShell. I keep getting this message when I try to update. Update-Help: Failed to update Help ...
- Aug 03, 2022Basically the flow is:
- You used Update-Help to get the Help for the cmdlets for the modules you have installed
- You get an error which indicates that the Help is not available in the chosen culture (ko-KR)
- You append -Verbose to have more information
- You append -Force to ensure that if any Yes/No prompts appear it will automatically chose Yes and continue
- You append -ErrorAction with value SilentlyContinue, which means that if it encounters any error it will continue without showing an error, effectively skipping the parts that it cannot update
So what you did is that you asked the Update-Help cmdlet to update everything it can update, overwrite if needed and not inform you if it hits any error.
raindropsdev
Iron Contributor
Apparently the owners of those modules no longer exist and as such the people who can control the help files for those modules aren't available to do so anymore:
https://github.com/PowerShell/PowerShell/issues/17067
https://www.youtube.com/watch?v=GcPTjtybohM&t=2281s
https://github.com/PowerShell/PowerShell/issues/17067
https://www.youtube.com/watch?v=GcPTjtybohM&t=2281s
이영곤74
Aug 03, 2022Copper Contributor
Update-Help -Verbose -Force -ErrorAction SilentlyContinue
I did it as above, but I carried out the command without any errors. But I don't know what the above order means.
Can you explain it to us?
I did it as above, but I carried out the command without any errors. But I don't know what the above order means.
Can you explain it to us?
- farismalaebAug 03, 2022Steel ContributorYou already set the ErrorAction to SilentlyContinue, so no error will return
Read more here for parameter explanation
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/update-help?view=powershell-7.2- 이영곤74Aug 03, 2022Copper ContributorThank you for your answer.I understand roughly what that order means. I still have a long way to go, so I can't understand the explanation. I need to study more and more. But the answer was very helpful.
- raindropsdevAug 03, 2022Iron ContributorBasically the flow is:
- You used Update-Help to get the Help for the cmdlets for the modules you have installed
- You get an error which indicates that the Help is not available in the chosen culture (ko-KR)
- You append -Verbose to have more information
- You append -Force to ensure that if any Yes/No prompts appear it will automatically chose Yes and continue
- You append -ErrorAction with value SilentlyContinue, which means that if it encounters any error it will continue without showing an error, effectively skipping the parts that it cannot update
So what you did is that you asked the Update-Help cmdlet to update everything it can update, overwrite if needed and not inform you if it hits any error.