Title: Concatenated PSModulePath values for PS7 module paths · Issue #13025 · PowerShell/PowerShell · GitHub
Open Graph Title: Concatenated PSModulePath values for PS7 module paths · Issue #13025 · PowerShell/PowerShell
X Title: Concatenated PSModulePath values for PS7 module paths · Issue #13025 · PowerShell/PowerShell
Description: I'm seeing an oddity on one desktop whereby the two module paths for PS7 are concatenated rather than split by a comma and this results in modules not being loaded. Steps to reproduce [Environment]::GetEnvironmentVariable("PSModulePath",...
Open Graph Description: I'm seeing an oddity on one desktop whereby the two module paths for PS7 are concatenated rather than split by a comma and this results in modules not being loaded. Steps to reproduce [Environment]...
X Description: I'm seeing an oddity on one desktop whereby the two module paths for PS7 are concatenated rather than split by a comma and this results in modules not being loaded. Steps to reproduce [Environm...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/13025
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Concatenated PSModulePath values for PS7 module paths","articleBody":"I'm seeing an oddity on one desktop whereby the two module paths for PS7 are concatenated rather than split by a comma and this results in modules not being loaded.\r\n\r\n## Steps to reproduce\r\n\r\n```\r\n[Environment]::GetEnvironmentVariable(\"PSModulePath\", \"Process\") -split ';' | sort\r\n```\r\n\r\n## Expected behavior\r\n\r\n```\r\nC:\\Program Files\\PowerShell\\Modules\\\r\nc:\\program files\\powershell\\7\\Modules\r\n```\r\n\r\n## Actual behavior\r\n\r\n```\r\nC:\\Program Files\\PowerShell\\Modules\\c:\\program files\\powershell\\7\\Modules\r\n```\r\nor in full:\r\n```\r\nC:\\Users\\Robin\\Documents\\PowerShell\\Modules;C:\\Program Files\\PowerShell\\Modules\\c:\\program files\\powershell\\7\\Modules;;C:\\Program Files\\WindowsPowerShell\\Modules\\;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;\r\n```\r\n- note the double ;;\r\n\r\n## Environment data\r\n\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 7.0.2\r\nPSEdition Core\r\nGitCommitId 7.0.2\r\nOS Microsoft Windows 10.0.19041\r\nPlatform Win32NT\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","author":{"url":"https://github.com/robinmalik","@type":"Person","name":"robinmalik"},"datePublished":"2020-06-24T13:30:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/13025/PowerShell/issues/13025"}
| 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:9738e58a-78ea-30e9-36b3-88b515326baf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81D8:2D62AB:A724BC:DFCB71:6A5567AC |
| html-safe-nonce | 2ba16c051d1352670e319aa32f7ecdba37e995814558e696e44271f968ae9cbe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUQ4OjJENjJBQjpBNzI0QkM6REZDQjcxOjZBNTU2N0FDIiwidmlzaXRvcl9pZCI6Ijc1NzgwMDMyOTIyODQxMjg0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45c75994d69a0a95755b25ea12e8bf65544aa6a4b5b2fba068d2f10d1f6a1fe1 |
| hovercard-subject-tag | issue:644616866 |
| 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/13025/issue_layout |
| twitter:image | https://opengraph.githubassets.com/433cdf678cb30cff940386229219da9d7735e51673da48259eedcf0bbdc435bb/PowerShell/PowerShell/issues/13025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/433cdf678cb30cff940386229219da9d7735e51673da48259eedcf0bbdc435bb/PowerShell/PowerShell/issues/13025 |
| og:image:alt | I'm seeing an oddity on one desktop whereby the two module paths for PS7 are concatenated rather than split by a comma and this results in modules not being loaded. Steps to reproduce [Environment]... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robinmalik |
| 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