| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:46df8388-a7a2-e58f-45d3-5b5b8b56a734 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B67C:1E2D6E:2203BA:2EDA68:6AFD610C |
| html-safe-nonce | 74c520ba245ab4bf9f65b513ad552f035d19218178178a4baf42e5e07e54ac74 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjdDOjFFMkQ2RToyMjAzQkE6MkVEQTY4OjZBRkQ2MTBDIiwidmlzaXRvcl9pZCI6IjgxOTExOTE2NjM5ODUzODU3NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6577c42a06b89f1765e94be7aa488fbcd2c7525a4b7f6cb31dcc62680e7ec593 |
| hovercard-subject-tag | pull_request:275897346 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/9530/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bd10479fecdec3707f9011d421b35efd4644031735c1bff22868f0ce1ab907a8/PowerShell/PowerShell/pull/9530 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd10479fecdec3707f9011d421b35efd4644031735c1bff22868f0ce1ab907a8/PowerShell/PowerShell/pull/9530 |
| og:image:alt | PR Summary
On Windows we use System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties to get computer name and domain name. The API was ported so we can remove P/Invokes for Unix-es.
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/9530#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F9530 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F9530 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/9530 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9530 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9530 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests365 (365) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-pinvoke-gethostname | https://github.com/iSazonov/PowerShell/tree/cleanup-pinvoke-gethostname |
| Conversation | https://github.com/PowerShell/PowerShell/pull/9530 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/9530/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/9530/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/9530/files |
| Use IPGlobalProperties on all platforms | https://github.com/PowerShell/PowerShell/pull/9530#top |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-pinvoke-gethostname | https://github.com/iSazonov/PowerShell/tree/cleanup-pinvoke-gethostname |
|
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#issue-440286466 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
| On Unix CoreFX | https://github.com/dotnet/corefx/blob/a10890f4ffe0fadf090c922578ba0e606ebdd16c/src/Common/src/System/Net/NetworkInformation/HostInformationPal.Unix.cs#L16 |
| then | https://github.com/dotnet/corefx/blob/a6f76f4f620cbe74821c6445af3f13e048361658/src/Common/src/Interop/Unix/System.Native/Interop.GetDomainName.cs#L15 |
| then | https://github.com/dotnet/corefx/blob/dda3289ce64a68613057758f53c20cc4768548de/src/Native/Unix/System.Native/pal_networking.c#L401 |
| https://access.redhat.com/solutions/352963 | https://access.redhat.com/solutions/352963 |
| #9526 | https://github.com/PowerShell/PowerShell/issues/9526 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Change is not breaking | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
|
| https://github.com/iSazonov |
| Use IPGlobalProperties on all platforms | https://github.com/PowerShell/PowerShell/pull/9530/commits/a7d47faf420cba8effe2d3cb14cb9d800befa226 |
| a7d47fa | https://github.com/PowerShell/PowerShell/pull/9530/commits/a7d47faf420cba8effe2d3cb14cb9d800befa226 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#event-2318848908 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.0-Consider | https://github.com/PowerShell/PowerShell/milestone/54 |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#event-2318848909 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| May 4, 2019 05:20 | https://github.com/PowerShell/PowerShell/pull/9530#event-2318848910 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#issuecomment-489295734 |
| Aditya Patwardhan (@adityapatwardhan) | https://github.com/adityapatwardhan |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
|
| https://github.com/iSazonov |
| Fix domain name on Linux | https://github.com/PowerShell/PowerShell/pull/9530/commits/383119372883dcbba49f43b97a78c92f59cfcc68 |
| 3831193 | https://github.com/PowerShell/PowerShell/pull/9530/commits/383119372883dcbba49f43b97a78c92f59cfcc68 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.0-Consider | https://github.com/PowerShell/PowerShell/milestone/54 |
| 7.0.0-preview.1 | https://github.com/PowerShell/PowerShell/milestone/53 |
| May 6, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#event-2320060004 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
May 7, 2019
| https://github.com/PowerShell/PowerShell/pull/9530#ref-issue-441033710 |
|
Remove unused API
PowerShell/PowerShell-Native#24
| https://github.com/PowerShell/PowerShell-Native/issues/24 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| May 8, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#issuecomment-490686566 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| May 8, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#issuecomment-490686601 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
|
May 8, 2019
| https://github.com/PowerShell/PowerShell/pull/9530#pullrequestreview-235340338 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/9530/files/383119372883dcbba49f43b97a78c92f59cfcc68 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| May 8, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#event-2328732383 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| 78d6466 | https://github.com/PowerShell/PowerShell/commit/78d64664ceda59d4a6918be1842f16da38d68c7d |
| May 8, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#event-2328735096 |
| https://github.com/adityapatwardhan |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| May 8, 2019 | https://github.com/PowerShell/PowerShell/pull/9530#issuecomment-490687040 |
| Ilya (@iSazonov) | https://github.com/iSazonov |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 9, 2019 18:53 | https://github.com/PowerShell/PowerShell/pull/9530#event-2331147817 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/9530#ref-commit-dd13f0d |
|
| https://github.com/iSazonov |
|
| https://github.com/adityapatwardhan |
| Use IPGlobalProperties on all platforms for getting host name ( | https://github.com/Thatgfsj-contribs/PowerShell/commit/dd13f0d2475f5bec7ae98510afebd78fb1f349b3 |
| PowerS… | https://github.com/PowerShell/PowerShell/pull/9530 |
| dd13f0d | https://github.com/Thatgfsj-contribs/PowerShell/commit/dd13f0d2475f5bec7ae98510afebd78fb1f349b3 |
| …hell#9530 | https://github.com/PowerShell/PowerShell/pull/9530 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F9530 |
|
| https://github.com/adityapatwardhan |
|
Aditya Patwardhan (adityapatwardhan)
| https://github.com/adityapatwardhan |
|
| https://github.com/PowerShell/PowerShell/pull/9530/files/383119372883dcbba49f43b97a78c92f59cfcc68 |
|
| https://github.com/SteveL-MSFT |
|
Steve Lee (SteveL-MSFT)
| https://github.com/SteveL-MSFT |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
|
| https://github.com/adityapatwardhan |
|
Aditya Patwardhan (adityapatwardhan)
| https://github.com/adityapatwardhan |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
|
7.0.0-preview.1
| https://github.com/PowerShell/PowerShell/milestone/53 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9530 |
|
| https://github.com/iSazonov |
|
| https://github.com/adityapatwardhan |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |