| 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:88997b30-e65c-1c10-6408-61a6ef9b1024 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF86:107DC3:6DFEA:9A84A:6AFD69F0 |
| html-safe-nonce | 9deb0c592c50a844fead4d4305ee384af42980b1b42a61fcbc611e49574159dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjg2OjEwN0RDMzo2REZFQTo5QTg0QTo2QUZENjlGMCIsInZpc2l0b3JfaWQiOiI4NTM1OTQwNjAwMzg2OTU0MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d6a531945bfeb44bb4c5d1228a1c5cd9d77a61528986345513926c17d2adbc1 |
| hovercard-subject-tag | pull_request:275898666 |
| 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/9531/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ae16c17286aa8fdd7713e308c3c65998f9fde49f5cc4e459f62199598b8d6db4/PowerShell/PowerShell/pull/9531 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae16c17286aa8fdd7713e308c3c65998f9fde49f5cc4e459f62199598b8d6db4/PowerShell/PowerShell/pull/9531 |
| og:image:alt | PR Summary
Remove unused TemporaryDirectory()
Remove unused GetUserName()
Use Environment.UserName on Unix
Use Environment.UserName and Environment.UserDomainName on Windows
PR Context
PR Check... |
| 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 | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| 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 | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/9531#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F9531 |
| 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%2F9531 |
| 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/9531 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9531 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9531 |
| 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 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-unused-pinvokes-on-unix | https://github.com/iSazonov/PowerShell/tree/cleanup-unused-pinvokes-on-unix |
| Conversation | https://github.com/PowerShell/PowerShell/pull/9531 |
| Commits5 (5) | https://github.com/PowerShell/PowerShell/pull/9531/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/9531/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/9531/files |
| Cleanup unused pinvokes on unix | https://github.com/PowerShell/PowerShell/pull/9531#top |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-unused-pinvokes-on-unix | https://github.com/iSazonov/PowerShell/tree/cleanup-unused-pinvokes-on-unix |
|
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9531#issue-440288344 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9531 |
| 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/9531 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 10:46 | https://github.com/PowerShell/PowerShell/pull/9531#commits-pushed-50f8d95 |
|
| https://github.com/iSazonov |
| Remove TemporaryDirectory() | https://github.com/PowerShell/PowerShell/pull/9531/commits/50f8d95c59663a26d5b2e78ff19e65e97fb4fe2f |
| 50f8d95 | https://github.com/PowerShell/PowerShell/pull/9531/commits/50f8d95c59663a26d5b2e78ff19e65e97fb4fe2f |
|
| https://github.com/iSazonov |
| Remove GetUserName() | https://github.com/PowerShell/PowerShell/pull/9531/commits/bbc96b67b12c965a3b01709e8a7fcb92bbc618c5 |
| bbc96b6 | https://github.com/PowerShell/PowerShell/pull/9531/commits/bbc96b67b12c965a3b01709e8a7fcb92bbc618c5 |
| 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/9531#event-2318858152 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.0.0-preview.1 | https://github.com/PowerShell/PowerShell/milestone/53 |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9531#event-2318858154 |
| 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:52 | https://github.com/PowerShell/PowerShell/pull/9531#event-2318858155 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Bruce Payette (BrucePay) | https://github.com/BrucePay |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| code owners | https://github.com/PowerShell/PowerShell/blob/2737e74d864de909c7a359fad31e75e2cf0db34b/.github/CODEOWNERS#L44 |
| May 4, 2019 06:40 | https://github.com/PowerShell/PowerShell/pull/9531#event-2318873840 |
|
| https://github.com/iSazonov |
| Use Environment.UserName on Unix | https://github.com/PowerShell/PowerShell/pull/9531/commits/b07bde831d8a86b5f226c3899c32bc88198d9c67 |
| b07bde8 | https://github.com/PowerShell/PowerShell/pull/9531/commits/b07bde831d8a86b5f226c3899c32bc88198d9c67 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/924c5a4608c6383351943fa7514559d5fae4fdcc..b07bde831d8a86b5f226c3899c32bc88198d9c67 |
| 924c5a4 | https://github.com/PowerShell/PowerShell/commit/924c5a4608c6383351943fa7514559d5fae4fdcc |
| b07bde8 | https://github.com/PowerShell/PowerShell/commit/b07bde831d8a86b5f226c3899c32bc88198d9c67 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/924c5a4608c6383351943fa7514559d5fae4fdcc..b07bde831d8a86b5f226c3899c32bc88198d9c67 |
| May 4, 2019 07:07 | https://github.com/PowerShell/PowerShell/pull/9531#event-2318882552 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 13:50 | https://github.com/PowerShell/PowerShell/pull/9531#commits-pushed-3dea5db |
|
| https://github.com/iSazonov |
| Remove old comment | https://github.com/PowerShell/PowerShell/pull/9531/commits/3dea5db3c090ec180c2c974832d1accd1b322eec |
| 3dea5db | https://github.com/PowerShell/PowerShell/pull/9531/commits/3dea5db3c090ec180c2c974832d1accd1b322eec |
|
| https://github.com/iSazonov |
| Use Environment.UserName on Windows too | https://github.com/PowerShell/PowerShell/pull/9531/commits/a1488e8ada0f12d7a902ee434ac317efde21dffe |
| a1488e8 | https://github.com/PowerShell/PowerShell/pull/9531/commits/a1488e8ada0f12d7a902ee434ac317efde21dffe |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/b0a8510fd4239d0232c25dffc262b014232ebad1..a1488e8ada0f12d7a902ee434ac317efde21dffe |
| b0a8510 | https://github.com/PowerShell/PowerShell/commit/b0a8510fd4239d0232c25dffc262b014232ebad1 |
| a1488e8 | https://github.com/PowerShell/PowerShell/commit/a1488e8ada0f12d7a902ee434ac317efde21dffe |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/b0a8510fd4239d0232c25dffc262b014232ebad1..a1488e8ada0f12d7a902ee434ac317efde21dffe |
| May 4, 2019 08:50 | https://github.com/PowerShell/PowerShell/pull/9531#event-2318921854 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
|
May 4, 2019
| https://github.com/PowerShell/PowerShell/pull/9531#pullrequestreview-233737721 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/9531/files/a1488e8ada0f12d7a902ee434ac317efde21dffe |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 4, 2019 | https://github.com/PowerShell/PowerShell/pull/9531#event-2319093764 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 2be3db8 | https://github.com/PowerShell/PowerShell/commit/2be3db8ab8757fe9ecccd2cc545ae9044ed76574 |
| May 7, 2019 | https://github.com/PowerShell/PowerShell/pull/9531#event-2322980662 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 7, 2019 05:22 | https://github.com/PowerShell/PowerShell/pull/9531#event-2322980740 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
May 7, 2019
| https://github.com/PowerShell/PowerShell/pull/9531#ref-issue-441033710 |
|
Remove unused API
PowerShell/PowerShell-Native#24
| https://github.com/PowerShell/PowerShell-Native/issues/24 |
| https://github.com/JohnLBevan |
| John Bevan (JohnLBevan) | https://github.com/JohnLBevan |
|
Dec 6, 2022
| https://github.com/PowerShell/PowerShell/pull/9531#ref-issue-1478804269 |
|
Document SupportsShouldProcess switches for Stop-Transcript
MicrosoftDocs/PowerShell-Docs#9531
| https://github.com/MicrosoftDocs/PowerShell-Docs/issues/9531 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/9531#ref-commit-eac3991 |
|
| https://github.com/iSazonov |
| Cleanup unused pinvokes on unix ( | https://github.com/Thatgfsj-contribs/PowerShell/commit/eac3991c58d3a46dce90c59b76089e47a48d36f5 |
| PowerShell#9531 | https://github.com/PowerShell/PowerShell/pull/9531 |
| ) | https://github.com/Thatgfsj-contribs/PowerShell/commit/eac3991c58d3a46dce90c59b76089e47a48d36f5 |
| eac3991 | https://github.com/Thatgfsj-contribs/PowerShell/commit/eac3991c58d3a46dce90c59b76089e47a48d36f5 |
| 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%2F9531 |
|
| https://github.com/SteveL-MSFT |
|
Steve Lee (SteveL-MSFT)
| https://github.com/SteveL-MSFT |
|
| https://github.com/PowerShell/PowerShell/pull/9531/files/a1488e8ada0f12d7a902ee434ac317efde21dffe |
|
| https://github.com/adityapatwardhan |
|
Aditya Patwardhan (adityapatwardhan)
| https://github.com/adityapatwardhan |
|
| https://github.com/BrucePay |
|
Bruce Payette (BrucePay)
| https://github.com/BrucePay |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9531 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
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/9531 |
|
| https://github.com/iSazonov |
|
| https://github.com/SteveL-MSFT |
|
| 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 |