Title: Runspace object formatting 'Type' column is inconsistent for remote runspaces · Issue #9341 · PowerShell/PowerShell · GitHub
Open Graph Title: Runspace object formatting 'Type' column is inconsistent for remote runspaces · Issue #9341 · PowerShell/PowerShell
X Title: Runspace object formatting 'Type' column is inconsistent for remote runspaces · Issue #9341 · PowerShell/PowerShell
Description: Currently the 'Type' column of the formatted output for a runspace object is 'local' unless the runspace is a WSMan remote runspace. Consequently a SSH session runspace is labled as 'local', which is incorrect. It might make sense to mar...
Open Graph Description: Currently the 'Type' column of the formatted output for a runspace object is 'local' unless the runspace is a WSMan remote runspace. Consequently a SSH session runspace is labled as 'local', which ...
X Description: Currently the 'Type' column of the formatted output for a runspace object is 'local' unless the runspace is a WSMan remote runspace. Consequently a SSH session runspace is labled as...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/9341
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Runspace object formatting 'Type' column is inconsistent for remote runspaces","articleBody":"Currently the 'Type' column of the formatted output for a runspace object is 'local' unless the runspace is a WSMan remote runspace. Consequently a SSH session runspace is labled as 'local', which is incorrect.\r\n\r\nIt might make sense to mark other remote runspaces that can only connect to local machine (out-of-proc, named pipe, hyper-v socket) to be marked 'local'. But since SSH can go off-box like WSMan, it should be marked 'remote' instead of 'local'.\r\n\r\nPersonally, I would like to see all remote runspaces marked 'remote' even if the underlying transport can only connect to the local machine, because they all use the remoting system. The 'ComputerName' column will clarify where the connection is to (localhost or remote computer name).\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n# Create an SSH session\r\n$sshSession = New-PSSession -HostName \u003ccomputerName>\r\n\r\n# Output runspace object\r\n$sshSession.Runspace\r\n\r\n Id Name ComputerName Type State Availability\r\n -- ---- ------------ ---- ----- ------------\r\n11 Runspace11 localhost Local Opened Busy\r\n```\r\n\r\n# Expected behavior\r\n```none\r\n'Type' column should be 'Remote'\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\n'Type' column is 'Local'\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 6.2.0\r\nPSEdition Core\r\nGitCommitId 6.2.0\r\nOS Microsoft Windows 10.0.17763\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/PaulHigin","@type":"Person","name":"PaulHigin"},"datePublished":"2019-04-11T16:44:23Z","url":"https://github.com/PowerShell/PowerShell/issues/9341"}
| 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:3611e1d7-f806-2ce1-e04c-91e6c3333233 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92E4:2ADB95:3CBB38:56BF46:6AFD6CCA |
| html-safe-nonce | 2262c7b798a45f00e8436b78901b7503b7a388379e49a26277d4776bb91c95e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkU0OjJBREI5NTozQ0JCMzg6NTZCRjQ2OjZBRkQ2Q0NBIiwidmlzaXRvcl9pZCI6IjE3NzE1NDA2OTEzMTUxNTgyMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3672e999a7cb1365fb422f798f6037ca232b8ac38e70f2a550e10153e8dec26f |
| hovercard-subject-tag | issue:432123287 |
| 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/9341/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2d6f18b094650aaa4a71b1ff377e15f54da88ae54d7066e0b1d5af2c22ce2d2d/PowerShell/PowerShell/issues/9341 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2d6f18b094650aaa4a71b1ff377e15f54da88ae54d7066e0b1d5af2c22ce2d2d/PowerShell/PowerShell/issues/9341 |
| og:image:alt | Currently the 'Type' column of the formatted output for a runspace object is 'local' unless the runspace is a WSMan remote runspace. Consequently a SSH session runspace is labled as 'local', which ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PaulHigin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| 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 | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width