Title: Publish PowerShell built-in modules along with the NuGet packages for hosting applications to include · Issue #11783 · PowerShell/PowerShell · GitHub
Open Graph Title: Publish PowerShell built-in modules along with the NuGet packages for hosting applications to include · Issue #11783 · PowerShell/PowerShell
X Title: Publish PowerShell built-in modules along with the NuGet packages for hosting applications to include · Issue #11783 · PowerShell/PowerShell
Description: Summary of the new feature/enhancement Today, we don't have the PowerShell built-in modules published, so it's hard for an application that hosting powershell to ship the built-in modules along with the application. Built-in modules are ...
Open Graph Description: Summary of the new feature/enhancement Today, we don't have the PowerShell built-in modules published, so it's hard for an application that hosting powershell to ship the built-in modules along wit...
X Description: Summary of the new feature/enhancement Today, we don't have the PowerShell built-in modules published, so it's hard for an application that hosting powershell to ship the built-in modules a...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11783
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Publish PowerShell built-in modules along with the NuGet packages for hosting applications to include","articleBody":"# Summary of the new feature/enhancement\r\n\r\nToday, we don't have the PowerShell built-in modules published, so it's hard for an application that hosting powershell to ship the built-in modules along with the application.\r\nBuilt-in modules are needed for hosting application to use `ForEach-Object -Parallel`, which creates separate Runspaces with `InitialSessionState.CreateDefault2()` and thus force module loading instead of using the built-in spanins.\r\nIt's the same for `PSThreadJob` module, or any other modules that create Runspace using the same API.\r\n\r\nWe run into this in Azure Functions, and then in PS sub kernel in dotnet-interactive.\r\nNow, we just have to download the needed module manifests (utility, management) from GitHub powershell repo, and it doesn't really work because\r\n1. dotnet-interactive build a global tool that should work on all platforms\r\n2. the manifest is not platform agnostic, and there is no way to include both Unix/Windows in the global tool and make the right choice at runtime.\r\n","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2020-02-05T18:28:56Z","url":"https://github.com/PowerShell/PowerShell/issues/11783"}
| 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:44afb690-ac65-9e4c-8362-530efde46917 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDA4:BC634:1B1647:25F30A:6AFD6FEE |
| html-safe-nonce | 3aba32e301d463543045f982d0ee800a4c235ee2ee623a4c1ac882552a792229 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREE0OkJDNjM0OjFCMTY0NzoyNUYzMEE6NkFGRDZGRUUiLCJ2aXNpdG9yX2lkIjoiNDk3NTI5NjUyOTg2NzU2NzA4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06169b21b143c534fe878ff7350dd7decb34977791b08f8aec5f3f58617ef336 |
| hovercard-subject-tag | issue:560551323 |
| 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/11783/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bcd8b1e71c8af89a2779fc3cb4cb16da3f000502e29cf170142b41069cf8be5f/PowerShell/PowerShell/issues/11783 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bcd8b1e71c8af89a2779fc3cb4cb16da3f000502e29cf170142b41069cf8be5f/PowerShell/PowerShell/issues/11783 |
| og:image:alt | Summary of the new feature/enhancement Today, we don't have the PowerShell built-in modules published, so it's hard for an application that hosting powershell to ship the built-in modules along wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| 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 | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width