Title: Linux Get-Help does not find CurrentUser Update-Help topics, only AllUsers · Issue #21187 · PowerShell/PowerShell · GitHub
Open Graph Title: Linux Get-Help does not find CurrentUser Update-Help topics, only AllUsers · Issue #21187 · PowerShell/PowerShell
X Title: Linux Get-Help does not find CurrentUser Update-Help topics, only AllUsers · Issue #21187 · 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/21187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linux Get-Help does not find CurrentUser Update-Help topics, only AllUsers","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nUsing Docker:\r\n```powershell\r\ndocker run -it mcr.microsoft.com/powershell\r\n$env:LANG #Confirm culture, en_US.UTF-8\r\nget-help find-command #Does not find help\r\n\r\n\r\n#Currentuser Test\r\ncommand find-command |% module | update-help -verbose #Verbose messages confirm it is installed to right folder\r\ngc -raw ~/.local/share/powershell/Help/PowerShellGet/en-US/PSModule-help.xml #Confirm help file is present\r\nget-help find-command #Still cannot find help files, will succeed but Remarks will show that it cannot find the offline help file.\r\n\r\n#Allusers test\r\nsudo pwsh -c 'command find-command |% module | update-help -scope allusers -verbose -uiculture en-US' #Installl for all uesers and confirm it shows up in /opt/microsoft/powershell\r\nget-help find-command #Works and now shows a synopsis and description\r\n```\r\n\r\n## Workaround\r\nInstall using -scope allusers (requires access to /opt psinstall folder which usually means root/sudo)\r\n\r\n### Expected behavior\r\n\r\n```console\r\nOffline Help Displays with a synopsis and a description\r\nRemarks does not have the line \"Get-Help cannot find the Help files for the cmdlet on this computer.\"\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nDisplay only basic name and syntax\r\nRemarks has the line \"Remarks does not have the line \"Get-Help cannot find the Help files for the cmdlet on this computer.\"\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 7.4.1\r\nPSEdition Core\r\nGitCommitId 7.4.1\r\nOS Ubuntu 22.04.3 LTS\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\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/JustinGrote","@type":"Person","name":"JustinGrote"},"datePublished":"2024-02-05T23:02:27Z","url":"https://github.com/PowerShell/PowerShell/issues/21187"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:bab4f334-2ad5-a8af-c400-a1a5400b277d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB1C:3A51E7:246CA2:3000D8:6AFD0357 |
| html-safe-nonce | ba03f787acc2f2ab2b35139fe5a627dff3c9a92908a67a1b468c51408fce833e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjFDOjNBNTFFNzoyNDZDQTI6MzAwMEQ4OjZBRkQwMzU3IiwidmlzaXRvcl9pZCI6Ijc2OTgzMzk0NjgwNzUxMzk5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 02725d69470271bd79e0a80f246edc7fe33361089470b84f743fa2202f374749 |
| hovercard-subject-tag | issue:2119621734 |
| 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/21187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46f31a8d66deb26d9a5934da6fd85726b9e6d59da02a0ba3658aa36f46ddea8d/PowerShell/PowerShell/issues/21187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46f31a8d66deb26d9a5934da6fd85726b9e6d59da02a0ba3658aa36f46ddea8d/PowerShell/PowerShell/issues/21187 |
| 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 | JustinGrote |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8fd5a24ae29aa78df114eaaf1f9a839e8c3b7c0d27549e4f54678bb7cf3166d4 |
| 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 | dd0990b833f227378ab84f1d9519db1a04660550 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width