René's URL Explorer Experiment


Title: Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` by daxian-dbw · Pull Request #15993 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` by daxian-dbw · Pull Request #15993 · PowerShell/PowerShell

X Title: Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` by daxian-dbw · Pull Request #15993 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary This PR includes the following changes: Move the declaration of the variable PSNativeArgumentPassing (from an experimental feature) to static InitialSessionState, to be consistent with ...

X Description: PR Summary This PR includes the following changes: Move the declaration of the variable PSNativeArgumentPassing (from an experimental feature) to static InitialSessionState, to be consistent with ...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/15993

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a1c0f191-5586-f729-1f51-4a65ce53deb1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3D2:962B9:2D879C:40348E:6AFDBE41
html-safe-nonce40d19c52cc278683496199a5d89062b0026a375ceba2d7cca4d6629dac866dc5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0QyOjk2MkI5OjJEODc5Qzo0MDM0OEU6NkFGREJFNDEiLCJ2aXNpdG9yX2lkIjoiOTI0ODk4OTY1MzUyOTg4MjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac16b7dfbbadd027991c3ab19732a69835d2f6da4448ae7232c32a1c032f9c5692
hovercard-subject-tagpull_request:719140134
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/15993/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d2d5bc13eccb1d32f918f0ece8f12bcd0f8435dc19daa66cd682baba11b5785a/PowerShell/PowerShell/pull/15993
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d2d5bc13eccb1d32f918f0ece8f12bcd0f8435dc19daa66cd682baba11b5785a/PowerShell/PowerShell/pull/15993
og:image:altPR Summary This PR includes the following changes: Move the declaration of the variable PSNativeArgumentPassing (from an experimental feature) to static InitialSessionState, to be consistent with ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaxian-dbw
hostnamegithub.com
expected-hostnamegithub.com
None35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseab48c73a2978548773f5f24717ed9e58508befdb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/15993#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15993
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15993
Sign uphttps://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/15993
Reloadhttps://github.com/PowerShell/PowerShell/pull/15993
Reloadhttps://github.com/PowerShell/PowerShell/pull/15993
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Rob Holt (rjmholt)https://github.com/rjmholt
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:variablehttps://github.com/daxian-dbw/PowerShell/tree/variable
Conversationhttps://github.com/PowerShell/PowerShell/pull/15993
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/15993/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/15993/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/15993/files
Fix a casting error when using $PSNativeCommandUsesErrorActionPreferencehttps://github.com/PowerShell/PowerShell/pull/15993#top
Rob Holt (rjmholt)https://github.com/rjmholt
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:variablehttps://github.com/daxian-dbw/PowerShell/tree/variable
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#issue-978573165
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://user-images.githubusercontent.com/127450/130705227-6c602b6e-a931-43ea-920e-8d08a9f5deeb.png
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://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 headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/daxian-dbw
some clean-up changeshttps://github.com/PowerShell/PowerShell/pull/15993/commits/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
2ce3eaahttps://github.com/PowerShell/PowerShell/pull/15993/commits/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
James Truher (JamesWTruher)https://github.com/JamesWTruher
Rob Holt (rjmholt)https://github.com/rjmholt
August 25, 2021 00:01https://github.com/PowerShell/PowerShell/pull/15993#event-5203556177
Travis Plunk (TravisEz13)https://github.com/TravisEz13
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5203556261
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Rob Holt (rjmholt)https://github.com/rjmholt
Travis Plunk (TravisEz13)https://github.com/TravisEz13
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5203556649
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5207622711
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 25, 2021 https://github.com/PowerShell/PowerShell/pull/15993#pullrequestreview-738579714
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 25, 2021 https://github.com/PowerShell/PowerShell/pull/15993#pullrequestreview-738607746
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
src/System.Management.Automation/engine/ExecutionContext.cshttps://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114#diff-8d3313ec42c1e725fbe5862c1159c28327a00ca51a2059749053568434b52921
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
Aug 25, 2021 https://github.com/PowerShell/PowerShell/pull/15993#pullrequestreview-738642531
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
test/powershell/engine/Basic/NativeCommandErrorHandling.Tests.ps1https://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114#diff-40455c7ea1b6ced29f5288a22a6308e6dd1767b8d5b222d926bf049744d12bb1
Keith Hill (rkeithhill)https://github.com/rkeithhill
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r695964043
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r695981846
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r695982965
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696052368
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://user-images.githubusercontent.com/7009879/130852912-c074e71f-119d-48db-9083-78fdd12fc834.png
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696078999
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://user-images.githubusercontent.com/127450/130858094-bb8676ed-caae-446c-a3f2-f47f33d84fef.png
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696120992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696121415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696143602
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 25, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696148568
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
Rob Holt (rjmholt)https://github.com/rjmholt
Aug 26, 2021https://github.com/PowerShell/PowerShell/pull/15993#discussion_r696193064
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/daxian-dbw
Remove the unneeded assembly resolving handlerhttps://github.com/PowerShell/PowerShell/pull/15993/commits/f8270349b8302446b644d2dd5e03d1e1861ae52f
f827034https://github.com/PowerShell/PowerShell/pull/15993/commits/f8270349b8302446b644d2dd5e03d1e1861ae52f
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
403767dhttps://github.com/PowerShell/PowerShell/commit/403767d7f7b910a6f315505287fe9a72c3960c52
Aug 26, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5209856302
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
7.2.0-rc.1https://github.com/PowerShell/PowerShell/milestone/111
Aug 26, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5210366214
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
August 26, 2021 06:28https://github.com/PowerShell/PowerShell/pull/15993#event-5210828595
xtqqczzehttps://github.com/xtqqczze
Sep 2, 2021 https://github.com/PowerShell/PowerShell/pull/15993#ref-commit-d7963a2
https://github.com/daxian-dbw
https://github.com/xtqqczze
Fix a casting error when using `$PSNativeCommandUsesErrorActionPrefer…https://github.com/xtqqczze/PowerShell-PowerShell/commit/d7963a2c1c32a20afbcf5ac3530bd1a1adba2305
d7963a2https://github.com/xtqqczze/PowerShell-PowerShell/commit/d7963a2c1c32a20afbcf5ac3530bd1a1adba2305
PowerShell#15993https://github.com/PowerShell/PowerShell/pull/15993
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Sep 9, 2021https://github.com/PowerShell/PowerShell/pull/15993#event-5280454171
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Dec 16, 2021https://github.com/PowerShell/PowerShell/pull/15993#issuecomment-996152623
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.3.0-preview.1
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 2, 2026 https://github.com/PowerShell/PowerShell/pull/15993#ref-pullrequest-4190073649
fix: support Windows RUN heredoc fixes wharflab/tally#431 https://github.com/wharflab/tally/pull/431
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/15993#ref-commit-39f18c4
https://github.com/daxian-dbw
Fix a casting error when using `$PSNativeCommandUsesErrorActionPrefer…https://github.com/Thatgfsj-contribs/PowerShell/commit/39f18c4660a938151973fbc73e6498fe0a27b244
39f18c4https://github.com/Thatgfsj-contribs/PowerShell/commit/39f18c4660a938151973fbc73e6498fe0a27b244
PowerShell#15993https://github.com/PowerShell/PowerShell/pull/15993
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15993
https://github.com/JamesWTruher
James Truher (JamesWTruher) https://github.com/JamesWTruher
https://github.com/rkeithhill
Keith Hill (rkeithhill) https://github.com/rkeithhill
https://github.com/PowerShell/PowerShell/pull/15993/files/2ce3eaa6f594a94bffdddfb6422fa1caa1555114
https://github.com/rjmholt
Rob Holt (rjmholt) https://github.com/rjmholt
https://github.com/PowerShell/PowerShell/pull/15993/files/f8270349b8302446b644d2dd5e03d1e1861ae52f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/rjmholt
Rob Holt (rjmholt) https://github.com/rjmholt
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.2.0-preview.10 https://github.com/PowerShell/PowerShell/milestone/111
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15993
https://github.com/daxian-dbw
https://github.com/rkeithhill
https://github.com/rjmholt
https://github.com/TravisEz13
https://github.com/iSazonov
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.