Title: New-PSSession still fails with a NullReferenceException on macOS · Issue #4029 · PowerShell/PowerShell · GitHub
Open Graph Title: New-PSSession still fails with a NullReferenceException on macOS · Issue #4029 · PowerShell/PowerShell
X Title: New-PSSession still fails with a NullReferenceException on macOS · Issue #4029 · PowerShell/PowerShell
Description: I believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug? Steps to reproduce $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUr...
Open Graph Description: I believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug? Steps to reproduce $Session = New-PSSession -Configurat...
X Description: I believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug? Steps to reproduce $Session = New-PSSession -Configurat...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4029
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New-PSSession still fails with a NullReferenceException on macOS","articleBody":"\u003c!--\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](../docs/FAQ.md).\r\n- Refer to the [known issues](../docs/KNOWNISSUES.md).\r\n- Fill out the following repro template\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\n\r\nI believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug?\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```\r\n$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\nSession would be initiated\r\n\r\nActual behavior\r\n---------------\r\n\r\n```\r\nUnhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.\r\n at System.Management.Automation.Remoting.PrioritySendDataCollection.Clear()\r\n at System.Management.Automation.Remoting.Client.BaseClientTransportManager.CloseAsync()\r\n at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager.CloseAsync()\r\n at System.Management.Automation.Remoting.Client.BaseClientTransportManager.Finalize()\r\nAbort trap: 6\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\n\r\nName Value \r\n---- ----- \r\nPSVersion 6.0.0-beta \r\nPSEdition Core \r\nBuildVersion 3.0.0.0 \r\nCLRVersion \r\nGitCommitId v6.0.0-beta.2 \r\nOS Darwin 17.0.0 Darwin Kernel Version 17.0.0: Mon May 29 20:35:...\r\nPlatform Unix \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/tthoma24","@type":"Person","name":"tthoma24"},"datePublished":"2017-06-16T04:44:35Z","url":"https://github.com/PowerShell/PowerShell/issues/4029"}
| 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:e3cb30f4-efb5-69fe-f6ce-f40ae0ea51a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2DA:12AA8F:3C36DC:57B815:6AFD8092 |
| html-safe-nonce | cf288c959c6ecfda9d65f7608a1ea7b96aaa44feeda85ead544ea1ab708f89bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkRBOjEyQUE4RjozQzM2REM6NTdCODE1OjZBRkQ4MDkyIiwidmlzaXRvcl9pZCI6IjYyNjI4NTQ2ODkyODk1MDI4NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90d6441f56f94fd5da611a45b80987af10a6a2ea7b39f1f4ae0db231e01e87af |
| hovercard-subject-tag | issue:236378844 |
| 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/4029/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a59a077e4cb2f76336cff9dbe1efffd5a4a8de0ea107f985ae9afda0a9b476db/PowerShell/PowerShell/issues/4029 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a59a077e4cb2f76336cff9dbe1efffd5a4a8de0ea107f985ae9afda0a9b476db/PowerShell/PowerShell/issues/4029 |
| og:image:alt | I believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug? Steps to reproduce $Session = New-PSSession -Configurat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tthoma24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| 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 | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width