| 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:1a12456c-7e44-e44c-c9d6-0e4512abca01 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C030:669CA:765CB:A4707:6AFD69FB |
| html-safe-nonce | 2edd8ffb9f7586988637eb409b1b18e206a7e1c6c1bc2d03ecadcd8d34339c62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDMwOjY2OUNBOjc2NUNCOkE0NzA3OjZBRkQ2OUZCIiwidmlzaXRvcl9pZCI6IjE4MjM0NzMxNTUyMzA3NTUzMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3ca4f8d4a3c1a290859ddbaa48e37e48845f379dc76177677aca3881309e4ecf |
| hovercard-subject-tag | pull_request:263614510 |
| 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/9197/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/27f88b98aa37e9dbdea803b02a76b7e8f82be3982e2b4e83ab9aae968d0696fc/PowerShell/PowerShell/pull/9197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27f88b98aa37e9dbdea803b02a76b7e8f82be3982e2b4e83ab9aae968d0696fc/PowerShell/PowerShell/pull/9197 |
| og:image:alt | PR Summary
First commit. Remove unused code.
Second commit. Using StringBuilder in P/Invoke causes extra allocations and buffer copies. Use stackalloc.
PR Context
Related #9139
PR Checklist
PR h... |
| 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/9197#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F9197 |
| 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%2F9197 |
| 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/9197 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9197 |
| Reload | https://github.com/PowerShell/PowerShell/pull/9197 |
| 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 |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-win32native-process | https://github.com/iSazonov/PowerShell/tree/cleanup-win32native-process |
| Conversation | https://github.com/PowerShell/PowerShell/pull/9197 |
| Commits3 (3) | https://github.com/PowerShell/PowerShell/pull/9197/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/9197/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/9197/files |
| Refactor LookupAccountSid P/Invoke in Process.cs | https://github.com/PowerShell/PowerShell/pull/9197#top |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:cleanup-win32native-process | https://github.com/iSazonov/PowerShell/tree/cleanup-win32native-process |
|
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Mar 22, 2019 | https://github.com/PowerShell/PowerShell/pull/9197#issue-424212391 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
| #9139 | https://github.com/PowerShell/PowerShell/issues/9139 |
| 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 |
| Add [feature] to your commit messages if the change is significant or affects feature tests | https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| March 22, 2019 17:02 | https://github.com/PowerShell/PowerShell/pull/9197#commits-pushed-a13489c |
|
| https://github.com/iSazonov |
| Remove unused code | https://github.com/PowerShell/PowerShell/pull/9197/commits/a13489c3c48c3c676033da4ff43db1fe8110ef3d |
| a13489c | https://github.com/PowerShell/PowerShell/pull/9197/commits/a13489c3c48c3c676033da4ff43db1fe8110ef3d |
|
| https://github.com/iSazonov |
| Remove StringBuilder from LookupAccountSid in Process.cs | https://github.com/PowerShell/PowerShell/pull/9197/commits/2a8656dee85ccf788751b720f19fb239d4d38b33 |
| 2a8656d | https://github.com/PowerShell/PowerShell/pull/9197/commits/2a8656dee85ccf788751b720f19fb239d4d38b33 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
| Mar 22, 2019 | https://github.com/PowerShell/PowerShell/pull/9197#event-2222642827 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| March 22, 2019 13:35 | https://github.com/PowerShell/PowerShell/pull/9197#event-2222642854 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Bruce Payette (BrucePay) | https://github.com/BrucePay |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| Andrew (anmenaga) | https://github.com/anmenaga |
| code owners | https://github.com/PowerShell/PowerShell/blob/185f20e3bd7649a2faa9e931ed135e4dd9b6c432/.github/CODEOWNERS#L60 |
| March 22, 2019 13:35 | https://github.com/PowerShell/PowerShell/pull/9197#event-2222642869 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Mar 22, 2019
| https://github.com/PowerShell/PowerShell/pull/9197#ref-issue-421153907 |
|
Review using StringBuilder in pinvokes
#9139
| https://github.com/PowerShell/PowerShell/issues/9139 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
|
Mar 25, 2019
| https://github.com/PowerShell/PowerShell/pull/9197#pullrequestreview-218482896 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/9197/files/2a8656dee85ccf788751b720f19fb239d4d38b33 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs | https://github.com/PowerShell/PowerShell/pull/9197/files/a13489c3c48c3c676033da4ff43db1fe8110ef3d..2a8656dee85ccf788751b720f19fb239d4d38b33#diff-a87e81856755f9e2a0f6002cf90c4cc3d0a4d1e81394bee7ac61543f71138b71 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Mar 25, 2019 | https://github.com/PowerShell/PowerShell/pull/9197#event-2227364171 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 6.3.0-preview.1 | https://github.com/PowerShell/PowerShell/milestone/53 |
| Mar 26, 2019 | https://github.com/PowerShell/PowerShell/pull/9197#event-2228505275 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
|
Mar 26, 2019
| https://github.com/PowerShell/PowerShell/pull/9197#pullrequestreview-219032990 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/9197/files/2a8656dee85ccf788751b720f19fb239d4d38b33 |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| https://github.com/PowerShell/PowerShell/pull/9197#pullrequestreview-219032990 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
| src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs | https://github.com/PowerShell/PowerShell/pull/9197/files/2a8656dee85ccf788751b720f19fb239d4d38b33#diff-a87e81856755f9e2a0f6002cf90c4cc3d0a4d1e81394bee7ac61543f71138b71 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
|
| https://github.com/iSazonov |
| Add comment | https://github.com/PowerShell/PowerShell/pull/9197/commits/6727950ff16e1ce3dea2102250d64e2bdc85da68 |
| 6727950 | https://github.com/PowerShell/PowerShell/pull/9197/commits/6727950ff16e1ce3dea2102250d64e2bdc85da68 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| 7dc17a3 | https://github.com/PowerShell/PowerShell/commit/7dc17a35a972b08730496fc26beee6c7756de757 |
| Mar 27, 2019 | https://github.com/PowerShell/PowerShell/pull/9197#event-2231856677 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| March 27, 2019 06:17 | https://github.com/PowerShell/PowerShell/pull/9197#event-2232020335 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/9197#ref-commit-5299fc1 |
|
| https://github.com/iSazonov |
|
| https://github.com/daxian-dbw |
| Enhance the P/Invoke code for | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| LookupAccountSid | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| in | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| Process.cs | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| ( | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| Pow… | https://github.com/PowerShell/PowerShell/pull/9197 |
| 5299fc1 | https://github.com/Thatgfsj-contribs/PowerShell/commit/5299fc15fc767eeeb19d1af6ea5ec7c96a4b2e75 |
| …erShell#9197 | https://github.com/PowerShell/PowerShell/pull/9197 |
| 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%2F9197 |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
| https://github.com/PowerShell/PowerShell/pull/9197/files/2a8656dee85ccf788751b720f19fb239d4d38b33 |
|
| https://github.com/SteveL-MSFT |
|
Steve Lee (SteveL-MSFT)
| https://github.com/SteveL-MSFT |
|
| https://github.com/adityapatwardhan |
|
Aditya Patwardhan (adityapatwardhan)
| https://github.com/adityapatwardhan |
|
| https://github.com/anmenaga |
|
Andrew (anmenaga)
| https://github.com/anmenaga |
|
| https://github.com/BrucePay |
|
Bruce Payette (BrucePay)
| https://github.com/BrucePay |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/9197 |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
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/9197 |
|
| https://github.com/iSazonov |
|
| https://github.com/daxian-dbw |
|
| 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 |