Title: Update-Help fails silently for UICulture en-GB · Issue #17696 · PowerShell/PowerShell · GitHub
Open Graph Title: Update-Help fails silently for UICulture en-GB · Issue #17696 · PowerShell/PowerShell
X Title: Update-Help fails silently for UICulture en-GB · Issue #17696 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17696
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update-Help fails silently for UICulture en-GB","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nHelp pages for `about_topics` are missing and cannot be downloaded on en-GB locale. Verbose output shows only redirects and zero downloads. Issue can be fixed by passing `-UICulture en-US` to `Update-Help`. I understand that the help pages are set to specific locale, but if it causes them to be completely missing in a different locale of same language, it's a bad user experience. Either show a warning \"Help pages for UICulture en-GB not found, but available in en-US, try calling with `-UICulture en-US`\", or just download them automatically. `Get-Help` already works with partial locale matches, just `Update-Help` needs fixing. \r\n\r\n```powershell\r\n\u003e Get-UICulture\r\nLCID Name DisplayName\r\n---- ---- -----------\r\n2057 en-GB English (United Kingdom)\r\n\u003e Update-Help -Force -Verbose\r\n```\r\n\n\n### Expected behavior\n\n```console\n\u003e Get-Help about_operators\r\nABOUT_OPERATORS\r\nShort description\r\nDescribes the operators that are supported by PowerShell.\n```\n\n\n### Actual behavior\n\n```console\n\u003e Get-Help about_operators\r\nGet-Help: Get-Help could not find about_operators in a help file in this session. To download updated help topics type: \"Update-Help\". To get help online, search for the help topic in the TechNet library at https://go.microsoft.com/fwlink/?LinkID=107116.\n```\n\n\n### Error details\n\n```console\n\u003e get-error\r\nException :\r\n Type : Microsoft.PowerShell.Commands.HelpNotFoundException\r\n ErrorRecord :\r\n Exception :\r\n Type : System.Management.Automation.ParentContainsErrorRecordException\r\n Message : Get-Help could not find about_operators in a help file in this session.\r\nTo download updated help topics type: \"Update-Help\". To get help online, search for the help\r\ntopic in the TechNet library at https://go.microsoft.com/fwlink/?LinkID=107116.\r\n HResult : -2146233087\r\n CategoryInfo : ResourceUnavailable: (:) [],\r\nParentContainsErrorRecordException\r\n FullyQualifiedErrorId : HelpNotFound\r\n ErrorDetails :\r\n HelpTopic : about_operators\r\n Message : Get-Help could not find about_operators in a help file in this session. To\r\ndownload updated help topics type: \"Update-Help\". To get help online, search for the help\r\ntopic in the TechNet library at https://go.microsoft.com/fwlink/?LinkID=107116.\r\n HResult : -2146233087\r\nCategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException\r\nFullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand\r\nInvocationInfo :\r\n MyCommand : Get-Help\r\n ScriptLineNumber : 1\r\n OffsetInLine : 1\r\n HistoryId : 8\r\n Line : get-help about_operators\r\n PositionMessage : At line:1 char:1\r\n + get-help about_operators\r\n + ~~~~~~~~~~~~~~~~~~~~~~~~\r\n InvocationName : get-help\r\n CommandOrigin : Internal\r\nScriptStackTrace : at \u003cScriptBlock\u003e, \u003cNo file\u003e: line 1\r\nPipelineIterationInfo :\n```\n\n\n### Environment data\n\n```powershell\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 7.3.0-preview.5\r\nPSEdition Core\r\nGitCommitId 7.3.0-preview.5\r\nOS Linux 5.15.0-1011-raspi #13-Ubuntu SMP PREEMPT Thu Jun 2 11:44…\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\n```\n\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/dkaszews","@type":"Person","name":"dkaszews"},"datePublished":"2022-07-16T18:15:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/17696/PowerShell/issues/17696"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:932e4b31-aa30-64e4-5f6d-cca0bb3a5c10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA60:218C1C:D56EFF:1232321:6A5561F0 |
| html-safe-nonce | ad4ad322584de8f7867ba6b735af679a8575afe0ceec5b04240b8eba145dd545 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTYwOjIxOEMxQzpENTZFRkY6MTIzMjMyMTo2QTU1NjFGMCIsInZpc2l0b3JfaWQiOiI4NzQxNjU5NTI2NDgxNDMzNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 22f468993bb037ef4613ca88f222f0ce994e7615cb9fa0fb18c7a965088c1226 |
| hovercard-subject-tag | issue:1306871128 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/17696/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2b97296295fe38a0fc31a485693eb3e5dc5306e4e19f922852ff5ea2f5c1c50/PowerShell/PowerShell/issues/17696 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2b97296295fe38a0fc31a485693eb3e5dc5306e4e19f922852ff5ea2f5c1c50/PowerShell/PowerShell/issues/17696 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dkaszews |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8201d0b7bc32164c4662de52242e463a356df543 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width