Title: Computer field in InformationRecord is incorrect on Ubuntu 18.04 container · Issue #9526 · PowerShell/PowerShell · GitHub
Open Graph Title: Computer field in InformationRecord is incorrect on Ubuntu 18.04 container · Issue #9526 · PowerShell/PowerShell
X Title: Computer field in InformationRecord is incorrect on Ubuntu 18.04 container · Issue #9526 · PowerShell/PowerShell
Description: This repros only on container for ubuntu. It works as expected on VMs and containers of other Linux distros Steps to reproduce PS /> docker run -it --rm mcr.microsoft.com/powershell:latest PowerShell 6.2.0 Copyright (c) Microsoft Corpora...
Open Graph Description: This repros only on container for ubuntu. It works as expected on VMs and containers of other Linux distros Steps to reproduce PS /> docker run -it --rm mcr.microsoft.com/powershell:latest PowerShe...
X Description: This repros only on container for ubuntu. It works as expected on VMs and containers of other Linux distros Steps to reproduce PS /> docker run -it --rm mcr.microsoft.com/powershell:latest Power...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/9526
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Computer field in InformationRecord is incorrect on Ubuntu 18.04 container","articleBody":"This repros only on container for ubuntu. It works as expected on VMs and containers of other Linux distros\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\nPS /> docker run -it --rm mcr.microsoft.com/powershell:latest\r\nPowerShell 6.2.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nhttps://aka.ms/pscore6-docs\r\nType 'help' to get help.\r\n\r\nPS /> $result = Write-Information \"Test Message\" *>&1\r\nPS /> $result.Computer\r\n\r\nPS /> [Environment]::MachineName\r\n35dc3ee9a157\r\nPS /> cat /etc/os-release\r\nNAME=\"Ubuntu\"\r\nVERSION=\"18.04.2 LTS (Bionic Beaver)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 18.04.2 LTS\"\r\nVERSION_ID=\"18.04\"\r\nHOME_URL=\"https://www.ubuntu.com/\"\r\nSUPPORT_URL=\"https://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\r\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\r\nVERSION_CODENAME=bionic\r\nUBUNTU_CODENAME=bionic\r\nPS />\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\nPS /> $result.Computer\r\n35dc3ee9a157\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\n$result.Computer is an empty string\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nPS /> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 6.2.0\r\nPSEdition Core\r\nGitCommitId 6.2.0\r\nOS Linux 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018\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```\r\n","author":{"url":"https://github.com/adityapatwardhan","@type":"Person","name":"adityapatwardhan"},"datePublished":"2019-05-02T23:43:47Z","url":"https://github.com/PowerShell/PowerShell/issues/9526"}
| 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:e5342aa2-3d70-21f9-d7aa-f97eb34a6b47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B252:1D04C8:D036:120F4:6AFD6817 |
| html-safe-nonce | f9c3868624a3ebbb3a9b96bca1a86592fd8d30c5e969c0a34ab76ffc00c4d51a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjUyOjFEMDRDODpEMDM2OjEyMEY0OjZBRkQ2ODE3IiwidmlzaXRvcl9pZCI6IjcyMjc4ODkxODU5MjU3MjAwODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84ff322d3d6bd2a83a47d5d3e88606eb6dd84256fb0d4e6b38a4104c427c6431 |
| hovercard-subject-tag | issue:439832899 |
| 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/9526/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b89aa27b7cc3e291addeb9a3bc98ca828676541b6edb3b403c2f82cdc65f091f/PowerShell/PowerShell/issues/9526 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b89aa27b7cc3e291addeb9a3bc98ca828676541b6edb3b403c2f82cdc65f091f/PowerShell/PowerShell/issues/9526 |
| og:image:alt | This repros only on container for ubuntu. It works as expected on VMs and containers of other Linux distros Steps to reproduce PS /> docker run -it --rm mcr.microsoft.com/powershell:latest PowerShe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adityapatwardhan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42a67d7c7488271ca8d7e6dc3942424e6de3bff43b1ed4a9c6f0e1a69b73b389 |
| 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 | 5c3779ac05f3590d8d7ea0c02b14e678ae8179ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width