Title: Foreach-Object Parallel serialization issue · Issue #12239 · PowerShell/PowerShell · GitHub
Open Graph Title: Foreach-Object Parallel serialization issue · Issue #12239 · PowerShell/PowerShell
X Title: Foreach-Object Parallel serialization issue · Issue #12239 · PowerShell/PowerShell
Description: Description Powershell omits certain fields in foreach-object -parallel code block, for example Get-ADComputer correctly displays computer name in code block, but return empty string for any extra fields requested in Properties argument....
Open Graph Description: Description Powershell omits certain fields in foreach-object -parallel code block, for example Get-ADComputer correctly displays computer name in code block, but return empty string for any extra ...
X Description: Description Powershell omits certain fields in foreach-object -parallel code block, for example Get-ADComputer correctly displays computer name in code block, but return empty string for any extra ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12239
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Foreach-Object Parallel serialization issue","articleBody":"# Description\r\n\r\nPowershell omits certain fields in foreach-object -parallel code block, for example Get-ADComputer correctly displays computer name in code block, but return empty string for any extra fields requested in Properties argument. When calling without -Parallel argument everything works as expected.\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\nGet-ADComputer w2 -Properties OperatingSystem | % -Parallel { $_.OperatingSystem }\r\n```\r\n\r\n# Expected behavior\r\n```\r\nWindows 10 Pro\r\n```\r\n\r\n# Actual behavior\r\n```\r\n\u003cnothing>\r\n```\r\n# Environment data\r\n```\r\nPSVersion 7.1.0-preview.1\r\nPSEdition Core\r\nGitCommitId 7.1.0-preview.1\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```","author":{"url":"https://github.com/somescout","@type":"Person","name":"somescout"},"datePublished":"2020-04-01T09:10:15Z","url":"https://github.com/PowerShell/PowerShell/issues/12239"}
| 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:d2d64d5a-a0ed-8302-09ab-56e005f5f1d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B564:35BEEA:720836:A0D3BD:6AFDC298 |
| html-safe-nonce | 07fdf51c9335333f5595cdb38413436a149515a0d6428256f507e0ea5befdc41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTY0OjM1QkVFQTo3MjA4MzY6QTBEM0JEOjZBRkRDMjk4IiwidmlzaXRvcl9pZCI6IjMyOTk5NDk1MTQyMDYzMzE1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52428a75621fddcccd7c01794a2cf2c81b367db4d12cc19c70fccfbf72c2bcf0 |
| hovercard-subject-tag | issue:591756460 |
| 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/12239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc936057d5780be28088d8808f66b38e9db85d3f17c21955e93c798d4f88311a/PowerShell/PowerShell/issues/12239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc936057d5780be28088d8808f66b38e9db85d3f17c21955e93c798d4f88311a/PowerShell/PowerShell/issues/12239 |
| og:image:alt | Description Powershell omits certain fields in foreach-object -parallel code block, for example Get-ADComputer correctly displays computer name in code block, but return empty string for any extra ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | somescout |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6 |
| 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 | ab48c73a2978548773f5f24717ed9e58508befdb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width