Title: CertificateProvider auto-imports PKI module many times · Issue #11241 · PowerShell/PowerShell · GitHub
Open Graph Title: CertificateProvider auto-imports PKI module many times · Issue #11241 · PowerShell/PowerShell
X Title: CertificateProvider auto-imports PKI module many times · Issue #11241 · PowerShell/PowerShell
Description: Attempting to use the PKI Module in Win10 using Preview 6. I kind of expect a warning when the module is first loaded, with either import-module or via module autoload. But not on every operation: See this graphic: In this session, I Set...
Open Graph Description: Attempting to use the PKI Module in Win10 using Preview 6. I kind of expect a warning when the module is first loaded, with either import-module or via module autoload. But not on every operation: ...
X Description: Attempting to use the PKI Module in Win10 using Preview 6. I kind of expect a warning when the module is first loaded, with either import-module or via module autoload. But not on every operation: ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CertificateProvider auto-imports PKI module many times","articleBody":"Attempting to use the PKI Module in Win10 using Preview 6.\r\n\r\nI kind of expect a warning when the module is first loaded, with either import-module or via module autoload. But not on every operation:\r\n\r\nSee this graphic:\r\n\r\n\r\nIn this session, I Set-Location (getting a warning), then did a get-ChildItem (and got a second warning message) then I did another Get-ChildItem (and got a THIRD warning. All the commands sent to the provider seem to generate a warning and I'd argue this is not a good user experience. \r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n# 1. Open a PowerShell console window then type:\r\nCD Cert:\\\r\nLS\r\nLS .\\Currentuser\r\n```\r\n\r\n# Expected behaviour\r\nI would not expect the second two (and all subsequent) uses of cmdlets in a compatibility-imported module. I can live with the first warning, but the rest are a poor user experience.\r\n\r\n# Actual behaviour\r\nSee the graphic above\r\n\r\n# Environment data\r\n\r\n```none\r\nPS Cert:\\> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.6\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.6\r\nOS Microsoft Windows 10.0.18363\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/doctordns","@type":"Person","name":"doctordns"},"datePublished":"2019-12-03T14:29:46Z","url":"https://github.com/PowerShell/PowerShell/issues/11241"}
| 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:5e1a3595-fb82-b9ff-d71a-1c3f5f82cf59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA82:22AC9A:5C18F:7CCD8:6AFD4896 |
| html-safe-nonce | dd840dccf7425ed2d00cd0959ff93370389fe46a41e6e4d5904d5d3730f77097 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTgyOjIyQUM5QTo1QzE4Rjo3Q0NEODo2QUZENDg5NiIsInZpc2l0b3JfaWQiOiIzMTI1NDYzMTAwNTUxOTQwMjQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 200efbe85312a007567a2104484126069fbbfbfe59a26c7d295f17b20eb715d6 |
| hovercard-subject-tag | issue:532025599 |
| 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/11241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6bdc7c569fdcd38c97bf45017e8e184f92febeb86705362904e9a4ef7a7f5e5d/PowerShell/PowerShell/issues/11241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6bdc7c569fdcd38c97bf45017e8e184f92febeb86705362904e9a4ef7a7f5e5d/PowerShell/PowerShell/issues/11241 |
| og:image:alt | Attempting to use the PKI Module in Win10 using Preview 6. I kind of expect a warning when the module is first loaded, with either import-module or via module autoload. But not on every operation: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | doctordns |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width