| 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:de7dcf78-662a-36d9-88c8-5816a894a663 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D710:2F6606:25BBB1E:34B8FB4:6AFD497E |
| html-safe-nonce | 4848999071cf0d046875e839ae9697002b101301cc4491110d055f1961c83352 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzEwOjJGNjYwNjoyNUJCQjFFOjM0QjhGQjQ6NkFGRDQ5N0UiLCJ2aXNpdG9yX2lkIjoiMzI1NjA5NjgyMDA3NzM0OTI0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c2c372e6ca84cc02a4f056ff2b3a9941a585219fd911f69cf524ffc961e11c2 |
| hovercard-subject-tag | pull_request:342921240 |
| 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/11125/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/068c8c33936f603b0332e35073d1fa33c5f6c789e3c0121439f700442d31a56b/PowerShell/PowerShell/pull/11125 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/068c8c33936f603b0332e35073d1fa33c5f6c789e3c0121439f700442d31a56b/PowerShell/PowerShell/pull/11125 |
| og:image:alt | PR Summary
Get-Error currently modifies the original $Error object specifically the pstypenames. Fix is to use an overload when constructing the PSObject to copy it.
PR Context
Fix #11122
PR Check... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/11125#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F11125 |
| 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%2F11125 |
| 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/11125 |
| Reload | https://github.com/PowerShell/PowerShell/pull/11125 |
| Reload | https://github.com/PowerShell/PowerShell/pull/11125 |
| 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 |
| SteveL-MSFT:get-error-ets | https://github.com/SteveL-MSFT/PowerShell/tree/get-error-ets |
| Conversation | https://github.com/PowerShell/PowerShell/pull/11125 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/11125/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/11125/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/11125/files |
| Update Get-Error to not modify the original $Error object | https://github.com/PowerShell/PowerShell/pull/11125#top |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:get-error-ets | https://github.com/SteveL-MSFT/PowerShell/tree/get-error-ets |
|
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Nov 19, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#issue-525303083 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| #11122 | https://github.com/PowerShell/PowerShell/issues/11122 |
| 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 |
| 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 |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| 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 |
| PowerShell Editor Services | https://github.com/PowerShell/PowerShellEditorServices |
| PowerShell extension | https://github.com/PowerShell/vscode-powershell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| EditorSyntax | https://github.com/PowerShell/EditorSyntax |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
|
| https://github.com/SteveL-MSFT |
| Update Get-Error to not modify the original $Error object | https://github.com/PowerShell/PowerShell/pull/11125/commits/f87e71250c31f711ae267d5b12b3b50c5c0c5883 |
| f87e712 | https://github.com/PowerShell/PowerShell/pull/11125/commits/f87e71250c31f711ae267d5b12b3b50c5c0c5883 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
| November 19, 2019 22:23 | https://github.com/PowerShell/PowerShell/pull/11125#event-2813236934 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Nov 19, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#event-2813237146 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Nov 19, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#issuecomment-555744233 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| https://github.com/vexx32 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
|
Nov 20, 2019
| https://github.com/PowerShell/PowerShell/pull/11125#pullrequestreview-319452640 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/11125/files/f87e71250c31f711ae267d5b12b3b50c5c0c5883 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
| https://github.com/PowerShell/PowerShell/pull/11125#pullrequestreview-319452640 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get-Error.cs | https://github.com/PowerShell/PowerShell/pull/11125/files/f87e71250c31f711ae267d5b12b3b50c5c0c5883#diff-0bb65e7189f9e57591dd60b067dfe6da0ec376672bb0101bb83d2b4b2168a577 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Error.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/11125/files/f87e71250c31f711ae267d5b12b3b50c5c0c5883#diff-bdd8e596eff1a2dbfddfa3b3c60fd3c994a58566feb89bb0142eba07f222b149 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
| Nov 20, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#discussion_r348246243 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Nov 20, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#discussion_r348642933 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| Nov 20, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#event-2813802439 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.0.0-preview.6 | https://github.com/PowerShell/PowerShell/milestone/74 |
| Nov 20, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#event-2813802794 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Nov 20, 2019
| https://github.com/PowerShell/PowerShell/pull/11125#pullrequestreview-319493554 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/11125/files/f87e71250c31f711ae267d5b12b3b50c5c0c5883 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/vexx32 |
| Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Get… | https://github.com/PowerShell/PowerShell/pull/11125/commits/edf16f890d16a0ecb46b9ddc78cb2876d845e075 |
| edf16f8 | https://github.com/PowerShell/PowerShell/pull/11125/commits/edf16f890d16a0ecb46b9ddc78cb2876d845e075 |
| https://github.com/vexx32 |
| Rain Sallow (/u/ta11ow) (vexx32) | https://github.com/vexx32 |
|
Nov 20, 2019
| https://github.com/PowerShell/PowerShell/pull/11125#pullrequestreview-320149020 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/11125/files/edf16f890d16a0ecb46b9ddc78cb2876d845e075 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 0aaced3 | https://github.com/PowerShell/PowerShell/commit/0aaced35ad5313c6012c1539306b6ad3de6bee27 |
| Nov 21, 2019 | https://github.com/PowerShell/PowerShell/pull/11125#event-2819047676 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Dec 1, 2019
| https://github.com/PowerShell/PowerShell/pull/11125#ref-issue-530763387 |
|
Get-Error populates $Error variable
#11228
| https://github.com/PowerShell/PowerShell/issues/11228 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| December 2, 2019 17:23 | https://github.com/PowerShell/PowerShell/pull/11125#event-2846557943 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| 7.0.0-preview.6 | https://github.com/PowerShell/PowerShell/milestone/74 |
| GA-approved | https://github.com/PowerShell/PowerShell/milestone/78 |
| Jan 9, 2020 | https://github.com/PowerShell/PowerShell/pull/11125#event-2936791478 |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
|
Jan 10, 2020
| https://github.com/PowerShell/PowerShell/pull/11125#ref-commit-cff9deb |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/daxian-dbw |
| Update Get-Error to not modify the original $Error object ( | https://github.com/PowerShell/PowerShell/commit/cff9deb8e727bf7a893943a7451708cc5c628e57 |
| #11125 | https://github.com/PowerShell/PowerShell/pull/11125 |
| ) | https://github.com/PowerShell/PowerShell/commit/cff9deb8e727bf7a893943a7451708cc5c628e57 |
| cff9deb | https://github.com/PowerShell/PowerShell/commit/cff9deb8e727bf7a893943a7451708cc5c628e57 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| GA-approved | https://github.com/PowerShell/PowerShell/milestone/78 |
| 7.0.0-rc.2 | https://github.com/PowerShell/PowerShell/milestone/80 |
| Jan 11, 2020 | https://github.com/PowerShell/PowerShell/pull/11125#event-2940231655 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Jan 16, 2020 | https://github.com/PowerShell/PowerShell/pull/11125#issuecomment-575397413 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.0.0-rc.2 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
|
Jan 16, 2020
| https://github.com/PowerShell/PowerShell/pull/11125#ref-issue-525194078 |
|
Get-Error unexpectedly modifies the ETS type names of the ErrorRecord instances it processes in place
#11122
| https://github.com/PowerShell/PowerShell/issues/11122 |
| https://github.com/TravisEz13 |
| Travis Plunk (TravisEz13) | https://github.com/TravisEz13 |
|
Oct 12, 2022
| https://github.com/PowerShell/PowerShell/pull/11125#ref-pullrequest-1406713308 |
|
Back-port to 7.0: Update list of PowerShell team members in release tools
#18266
| https://github.com/PowerShell/PowerShell/pull/18266 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/11125#ref-commit-14ffcec |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/iSazonov |
| Update Get-Error to not modify the original $Error object ( | https://github.com/Thatgfsj-contribs/PowerShell/commit/14ffcecd0c73791645ddd94ea3ad74cf5a92fd72 |
| PowerShell… | https://github.com/PowerShell/PowerShell/pull/11125 |
| 14ffcec | https://github.com/Thatgfsj-contribs/PowerShell/commit/14ffcecd0c73791645ddd94ea3ad74cf5a92fd72 |
| …#11125 | https://github.com/PowerShell/PowerShell/pull/11125 |
| 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%2F11125 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
| https://github.com/PowerShell/PowerShell/pull/11125/files/f87e71250c31f711ae267d5b12b3b50c5c0c5883 |
|
| https://github.com/vexx32 |
|
Rain Sallow (/u/ta11ow) (vexx32)
| https://github.com/vexx32 |
|
| https://github.com/PowerShell/PowerShell/pull/11125/files/edf16f890d16a0ecb46b9ddc78cb2876d845e075 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
|
7.0.0-rc.2
| https://github.com/PowerShell/PowerShell/milestone/80 |
|
Get-Error unexpectedly modifies the ETS type names of the ErrorRecord instances it processes in place
| https://github.com/PowerShell/PowerShell/issues/11122 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/11125 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/iSazonov |
|
| https://github.com/vexx32 |
|
| 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 |