Title: Expand the syntax for Module-Qualified commands to allow you to specify a specific version as well · Issue #8949 · PowerShell/PowerShell · GitHub
Open Graph Title: Expand the syntax for Module-Qualified commands to allow you to specify a specific version as well · Issue #8949 · PowerShell/PowerShell
X Title: Expand the syntax for Module-Qualified commands to allow you to specify a specific version as well · Issue #8949 · PowerShell/PowerShell
Description: When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below Microsoft.PowerShell.Core\ForEach-Object Whilst this is an extremely useful feature, this ...
Open Graph Description: When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below Microsoft.PowerShell.Core\ForEach-Object Whilst th...
X Description: When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below Microsoft.PowerShell.Core\ForEach-Object Whilst th...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/8949
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expand the syntax for Module-Qualified commands to allow you to specify a specific version as well","articleBody":"When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below\r\n\r\n```powershell\r\nMicrosoft.PowerShell.Core\\ForEach-Object\r\n```\r\n\r\nWhilst this is an extremely useful feature, this has an issue with it only working with either the currently loaded version or the latest version of the module specifiec and as such this is perhaps a lingering aspect of the language that was never updated when v5 came out which supported Side by Side versions\r\n\r\nTherefore I think it would be great if the following syntax would be able to be accepted and correctly parsed \r\n\r\n``` powershell\r\nPowerShellGet:1.6.0\\Find-Module\r\n```\r\nThis breaks down to\r\n```\r\n\u003cmoduleName>:\u003cmoduleVersion>\\\u003cCommandName>\r\n```\r\nThe potential although limited use case for this is within scripts that have dependencies on modules that have interesting & weird differences between module versions\r\n\r\nYou can already load multiple versions of a module into the same session so this would enable script/module authors another method for diagnosing accidental breaking changes in a more typical side by side manner within the same session","author":{"url":"https://github.com/kilasuit","@type":"Person","name":"kilasuit"},"datePublished":"2019-02-22T01:42:38Z","url":"https://github.com/PowerShell/PowerShell/issues/8949"}
| 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:c4c5f8bd-3aa1-2c73-21b6-e702d357f8a5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C818:1F8AF4:1C8365:26834F:6AFD4FD3 |
| html-safe-nonce | 9a92f3661ebeed86e141007a2f19732b05e0e3a443dd958c2c20f0a52e8fa338 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODE4OjFGOEFGNDoxQzgzNjU6MjY4MzRGOjZBRkQ0RkQzIiwidmlzaXRvcl9pZCI6IjI4ODcxNzU3MzI2Njk1MjE0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0449bfb5024f290cd5df338332320c91a2483ceafd8c73ab9a1c348008a2206c |
| hovercard-subject-tag | issue:413203565 |
| 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/8949/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83817e0184e0d7893b802af5897fad6c61f6192bb1825a3dad20e2cd711c26b1/PowerShell/PowerShell/issues/8949 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83817e0184e0d7893b802af5897fad6c61f6192bb1825a3dad20e2cd711c26b1/PowerShell/PowerShell/issues/8949 |
| og:image:alt | When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below Microsoft.PowerShell.Core\ForEach-Object Whilst th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kilasuit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width