Title: Windows PowerShell inherits PSModulePath from PowerShell Core · Issue #2636 · PowerShell/PowerShell · GitHub
Open Graph Title: Windows PowerShell inherits PSModulePath from PowerShell Core · Issue #2636 · PowerShell/PowerShell
X Title: Windows PowerShell inherits PSModulePath from PowerShell Core · Issue #2636 · PowerShell/PowerShell
Description: If you start Windows PowerShell from PowerShell Core, you get the $env:PSModulePath from PowerShell Core. In my opinion, this should be a 6.0.0 blocker. Also, if any work needs to be done in Windows PowerShell to fix this, we should do i...
Open Graph Description: If you start Windows PowerShell from PowerShell Core, you get the $env:PSModulePath from PowerShell Core. In my opinion, this should be a 6.0.0 blocker. Also, if any work needs to be done in Window...
X Description: If you start Windows PowerShell from PowerShell Core, you get the $env:PSModulePath from PowerShell Core. In my opinion, this should be a 6.0.0 blocker. Also, if any work needs to be done in Window...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2636
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Windows PowerShell inherits PSModulePath from PowerShell Core","articleBody":"If you start Windows PowerShell from PowerShell Core, you get the `$env:PSModulePath` from PowerShell Core. \r\n\r\nIn my opinion, this should be a `6.0.0` blocker. Also, if any work needs to be done in Windows PowerShell to fix this, we should do it ASAP. \r\n\r\nSteps to reproduce\r\n------------------\r\nFrom PowerShell Core:\r\n```powershell\r\nStart-Process powershell\r\n```\r\n\r\nThis will open a new instance of Windows PowerShell. From this instance:\r\n```powershell\r\n$env:PSModulePath\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n`C:\\Users\\jaiello\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules`\r\n\r\nAlso, PSReadline should load. \r\n\r\nActual behavior\r\n---------------\r\n`C:\\Users\\jaiello\\Documents\\PowerShell\\Modules;C:\\Program Files\\PowerShell\\Modules;c:\\program files\\powershell\\6.0.0.12\\Modules`\r\n\r\nAlso, PSReadline doesn't load because it can't be found. \r\n\r\nEnvironment data\r\n----------------\r\nFor PowerShell Core:\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-alpha\r\nWSManStackVersion 3.0\r\nSerializationVersion 1.1.0.1\r\nGitCommitId v6.0.0-alpha.12\r\nCLRVersion\r\nBuildVersion 3.0.0.0\r\nPSRemotingProtocolVersion 2.3\r\nPSEdition Core\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\n```\r\n\r\nFor Windows PowerShell;\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 5.1.14931.1000\r\nPSEdition Desktop\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 10.0.14931.1000\r\nCLRVersion 4.0.30319.42000\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```\r\n","author":{"url":"https://github.com/joeyaiello","@type":"Person","name":"joeyaiello"},"datePublished":"2016-11-05T22:52:28Z","url":"https://github.com/PowerShell/PowerShell/issues/2636"}
| 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:2cf60fdc-bfdd-240c-4156-5aae755ff1ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DECA:11BFC:2329B57:310371D:6AFD35B4 |
| html-safe-nonce | be3f50232d34c2a64393b1a39fd78a0e0c9d1b1f5bedc4c6345e6a31331579a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUNBOjExQkZDOjIzMjlCNTc6MzEwMzcxRDo2QUZEMzVCNCIsInZpc2l0b3JfaWQiOiI5OTg3OTQwNzUyNDkxMjg4ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bed00d459894ac4aff04522dfe36aee1b9bce582e0b8a50b7d403d4cbf7208d9 |
| hovercard-subject-tag | issue:187529189 |
| 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/2636/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf9bee556a0d203c60658d24fb343ec5fa43a8d1f83e0abeda1469a7c3b2be42/PowerShell/PowerShell/issues/2636 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf9bee556a0d203c60658d24fb343ec5fa43a8d1f83e0abeda1469a7c3b2be42/PowerShell/PowerShell/issues/2636 |
| og:image:alt | If you start Windows PowerShell from PowerShell Core, you get the $env:PSModulePath from PowerShell Core. In my opinion, this should be a 6.0.0 blocker. Also, if any work needs to be done in Window... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joeyaiello |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| 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 | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width