Title: Deserialized.Microsoft.PowerShell.Commands.MatchInfo not formatted correctly · Issue #3480 · PowerShell/PowerShell · GitHub
Open Graph Title: Deserialized.Microsoft.PowerShell.Commands.MatchInfo not formatted correctly · Issue #3480 · PowerShell/PowerShell
X Title: Deserialized.Microsoft.PowerShell.Commands.MatchInfo not formatted correctly · Issue #3480 · PowerShell/PowerShell
Description: Steps to reproduce Connect to remote session. Run e.g. PS D:\dev\PowerShell_6.0.0-alpha.17-win10-win2016-x64> icm -Session $sessions { gci env:\ | % value | select-string temp } ## a lot of blank lines ## if I store the output to some va...
Open Graph Description: Steps to reproduce Connect to remote session. Run e.g. PS D:\dev\PowerShell_6.0.0-alpha.17-win10-win2016-x64> icm -Session $sessions { gci env:\ | % value | select-string temp } ## a lot of blank l...
X Description: Steps to reproduce Connect to remote session. Run e.g. PS D:\dev\PowerShell_6.0.0-alpha.17-win10-win2016-x64> icm -Session $sessions { gci env:\ | % value | select-string temp } ## a lot of blan...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3480
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deserialized.Microsoft.PowerShell.Commands.MatchInfo not formatted correctly","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\nSteps to reproduce\r\n------------------\r\nConnect to remote session.\r\nRun e.g. \r\n```\r\nPS D:\\dev\\PowerShell_6.0.0-alpha.17-win10-win2016-x64> icm -Session $sessions {\r\n gci env:\\ | % value | select-string temp\r\n}\r\n\r\n## a lot of blank lines\r\n## if I store the output to some variable and select properties explicitly, this confirms that there are actual objects\r\nPS D:\\dev\\PowerShell_6.0.0-alpha.17-win10-win2016-x64>$m = icm -Session $sessions {\r\n gci env:\\ | % value | select-string temp\r\n}\r\nPS D:\\dev\\PowerShell_6.0.0-alpha.17-win10-win2016-x64>$m | % Line\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\nC:\\Users\\CLOUDA~1\\AppData\\Local\\Temp\r\n# ....\r\n```\r\nCompare to result from local run\r\n```\r\nPS D:\\prgs\\dev\\PowerShell_6.0.0-alpha.17-win10-win2016-x64> gci env:\\ | % value | select-string temp\r\n\r\nC:\\Users\\J8675~1.STE\\AppData\\Local\\Temp\r\nC:\\Users\\J8675~1.STE\\AppData\\Local\\Temp\r\n```\r\n\r\n\r\nExpected behavior\r\n-----------------\r\n`Deserialized.Microsoft.PowerShell.Commands.MatchInfo` should be formatted correctly.\r\n\r\n\r\nActual behavior\r\n---------------\r\nPowerShell runtime probably doesn't know how to format `Deserialized.Microsoft.PowerShell.Commands.MatchInfo` to the output.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\nDownloaded current alpha as of today\r\n\r\n```powershell\r\nPS D:\\prgs\\dev\\PowerShell_6.0.0-alpha.17-win10-win2016-x64> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nCLRVersion\r\nPSEdition Core\r\nPSRemotingProtocolVersion 2.3\r\nWSManStackVersion 3.0\r\nSerializationVersion 1.1.0.1\r\nBuildVersion 3.0.0.0\r\nPSVersion 6.0.0-alpha\r\nGitCommitId v6.0.0-alpha.17\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\n\r\n```\r\n\r\nThis doesn't work also in 5.1: \r\n```\r\n[67]: $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 5.1.14393.953\r\nPSEdition Desktop\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 10.0.14393.953\r\nCLRVersion 4.0.30319.42000\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```","author":{"url":"https://github.com/stej","@type":"Person","name":"stej"},"datePublished":"2017-04-04T07:21:34Z","url":"https://github.com/PowerShell/PowerShell/issues/3480"}
| 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:834fa302-6043-70c1-6599-0568b03a0843 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92A2:22AC9A:26F822:34FD90:6AFD52A9 |
| html-safe-nonce | adbae4f4d0327ecb13813667ffcd3db2c9d32fb4d4a6cfb60681633065b3491e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkEyOjIyQUM5QToyNkY4MjI6MzRGRDkwOjZBRkQ1MkE5IiwidmlzaXRvcl9pZCI6Ijg2NDI2NzQ1Mjg3NDIxMDE2NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 33400cb7165933bb59d88112d64b828f143c925648d1dc2c22ea4002c0e7a500 |
| hovercard-subject-tag | issue:219161410 |
| 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/3480/issue_layout |
| twitter:image | https://opengraph.githubassets.com/815aad8f5f492b404ae0eb9a66270b8152c781ae92274dd9f5999c8afc2ce06e/PowerShell/PowerShell/issues/3480 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/815aad8f5f492b404ae0eb9a66270b8152c781ae92274dd9f5999c8afc2ce06e/PowerShell/PowerShell/issues/3480 |
| og:image:alt | Steps to reproduce Connect to remote session. Run e.g. PS D:\dev\PowerShell_6.0.0-alpha.17-win10-win2016-x64> icm -Session $sessions { gci env:\ | % value | select-string temp } ## a lot of blank l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stej |
| 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