Title: Some cmdlets and config require writing to $PSHOME\SessionConfig folder · Issue #9278 · PowerShell/PowerShell · GitHub
Open Graph Title: Some cmdlets and config require writing to $PSHOME\SessionConfig folder · Issue #9278 · PowerShell/PowerShell
X Title: Some cmdlets and config require writing to $PSHOME\SessionConfig folder · Issue #9278 · PowerShell/PowerShell
Description: Summary of the new feature/enhancement For Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 10, it would make sense to be in $env:Sys...
Open Graph Description: Summary of the new feature/enhancement For Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 1...
X Description: Summary of the new feature/enhancement For Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 1...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/9278
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some cmdlets and config require writing to $PSHOME\\SessionConfig folder","articleBody":"# Summary of the new feature/enhancement\r\n\r\nFor Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 10, it would make sense to be in $env:SystemDrive\\ProgramData.\r\n\r\n`Register-PSSessionConfiguration` stores the config file in [$PSHOME\\SessionConfig](https://github.com/PowerShell/PowerShell/search?l=C%23\u0026q=%22sessionconfig%22) folder.\r\n\r\n`powershell.config.json` for the system is stored in $PSHOME, this means that admins can't set system wide config and cmdlets like `Enable-ExperimentalFeature -Scope AllUsers` won't work.\r\n\r\n`Update-Help -Scope AllUsers` also won't work as it's stored in $PSHOME.\r\n\r\nWhen this is fixed, test changes relying on `Test-CanWriteToPsHome` should be reverted.","author":{"url":"https://github.com/SteveL-MSFT","@type":"Person","name":"SteveL-MSFT"},"datePublished":"2019-04-03T02:42:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":43},"url":"https://github.com/9278/PowerShell/issues/9278"}
| 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:9c92b816-5757-c63a-9202-839e93399bf5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9434:B1628:163CD58:1FBCCF3:6A5A1E93 |
| html-safe-nonce | d728e5f8d91cbf35c3a55e3d5cc5458c5523bff8191043d3a2c7cd77117adeee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDM0OkIxNjI4OjE2M0NENTg6MUZCQ0NGMzo2QTVBMUU5MyIsInZpc2l0b3JfaWQiOiI0Njk5MTE4MjY1NzI5NDI1MDQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1d5a599b22875499acfc385d5c66ff447f3f5b284a8c334c6728dc70c6c6a4ec |
| hovercard-subject-tag | issue:428536757 |
| 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/9278/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d40d784a398b9042764acf93c2fe9310f5f7b0b3ba6118664dad4a755d01fbcc/PowerShell/PowerShell/issues/9278 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d40d784a398b9042764acf93c2fe9310f5f7b0b3ba6118664dad4a755d01fbcc/PowerShell/PowerShell/issues/9278 |
| og:image:alt | Summary of the new feature/enhancement For Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | e31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a |
| 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 | c9fcdbf98c619d1561ed843fa01d9766a32b5cd9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width