René's URL Explorer Experiment


Title: Fix ForEach-Object -Parallel when passing in script block variable by PaulHigin · Pull Request #16564 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix ForEach-Object -Parallel when passing in script block variable by PaulHigin · Pull Request #16564 · PowerShell/PowerShell

X Title: Fix ForEach-Object -Parallel when passing in script block variable by PaulHigin · Pull Request #16564 · PowerShell/PowerShell

Description: PR Summary This change fixes #16445, where using variables were not being evaluated correctly when the -Parallel script block is passed in as a variable. PR Context ForeEach-Object -Parallel using ...

Open Graph Description: PR Summary This change fixes #16445, where using variables were not being evaluated correctly when the -Parallel script block is passed in as a variable. PR Context ForeEach-Object -Parallel using ...

X Description: PR Summary This change fixes #16445, where using variables were not being evaluated correctly when the -Parallel script block is passed in as a variable. PR Context ForeEach-Object -Parallel using ...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:a89a6edc-7326-fc74-406b-f7f9a2948838
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD12E:1B63E2:211F40C:2C41F82:696ECC61
html-safe-nonce162f8f55940bb55e485a0df0964a1994fd95f6dfea73658abccf5583af0451e8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTJFOjFCNjNFMjoyMTFGNDBDOjJDNDFGODI6Njk2RUNDNjEiLCJ2aXNpdG9yX2lkIjoiMzAyMDE0ODM1NDk0NDI1NzEyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac72755904f71f06fd60cb6107b5fda2240c108dfc5b0fe9db62b3ecef55aa38ae
hovercard-subject-tagpull_request:796447410
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/16564/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7ac18745b70314928f7e34096a2e7cc72cd39de862567607184b46387ea55d9f/PowerShell/PowerShell/pull/16564
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ac18745b70314928f7e34096a2e7cc72cd39de862567607184b46387ea55d9f/PowerShell/PowerShell/pull/16564
og:image:altPR Summary This change fixes #16445, where using variables were not being evaluated correctly when the -Parallel script block is passed in as a variable. PR Context ForeEach-Object -Parallel using ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePaulHigin
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
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
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16564
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16564
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Reloadhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Reloadhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
PowerShell https://patch-diff.githubusercontent.com/PowerShell
PowerShellhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.1k https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Star 51.2k https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://patch-diff.githubusercontent.com/PowerShell/PowerShell
Issues 1.2k https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues
Pull requests 212 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulls
Discussions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/discussions
Actions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/actions
Projects 7 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/PowerShell/PowerShell/security
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Insights https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulse
Code https://patch-diff.githubusercontent.com/PowerShell/PowerShell
Issues https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues
Pull requests https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulls
Discussions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/discussions
Actions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/actions
Projects https://patch-diff.githubusercontent.com/PowerShell/PowerShell/projects
Security https://patch-diff.githubusercontent.com/PowerShell/PowerShell/security
Insights https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issue-comment-box
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
PowerShell:masterhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/tree/master
Fix ForEach-Object -Parallel when passing in script block variable https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#top
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
PowerShell:masterhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/tree/master
Conversation 33 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Commits 8 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits
Checks 0 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/checks
Files changed https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 7, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issue-1072798148
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
#16445https://github.com/PowerShell/PowerShell/issues/16445
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
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://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 changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
December 3, 2021 16:07https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#commits-pushed-a012afb
https://patch-diff.githubusercontent.com/PaulHigin
First try at fixhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/a012afbe18c28fa49288d408d059148e730a3a60
a012afbhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/a012afbe18c28fa49288d408d059148e730a3a60
https://patch-diff.githubusercontent.com/PaulHigin
Fix scope function to correctly account for provided script block type.https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/7e0d73159d77163d482924c2d42da20b768c828f
7e0d731https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/7e0d73159d77163d482924c2d42da20b768c828f
https://patch-diff.githubusercontent.com/PaulHigin
Fix testshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/22d2b87c39fb86534b7114784e3572e26813b0c2
22d2b87https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/22d2b87c39fb86534b7114784e3572e26813b0c2
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 7, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5724262253
https://patch-diff.githubusercontent.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://patch-diff.githubusercontent.com/apps/pull-request-quantifier-deprecated
Small https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ASmall
Dec 7, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5724262361
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
powercodehttps://patch-diff.githubusercontent.com/powercode
December 7, 2021 01:04https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5724263711
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
CL-General https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Dec 7, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5724810094
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 7, 2021 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#pullrequestreview-824754023
View reviewed changes https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/22d2b87c39fb86534b7114784e3572e26813b0c2
src/System.Management.Automation/engine/hostifaces/PSTask.cshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/22d2b87c39fb86534b7114784e3572e26813b0c2#diff-119af80530ee6c0052fc6bd0df40bd72d5764390e7cdf54eb0291a8e6fbec370
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 7, 2021 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#pullrequestreview-824755599
View reviewed changes https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/22d2b87c39fb86534b7114784e3572e26813b0c2
src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/22d2b87c39fb86534b7114784e3572e26813b0c2#diff-e28b4e3eec16679ef3380ac970827b2deb6f049a0183273a7f5435da55225321
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
December 7, 2021 10:11https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#commits-pushed-afa9120
https://patch-diff.githubusercontent.com/PaulHigin
https://patch-diff.githubusercontent.com/iSazonov
Update src/System.Management.Automation/engine/runtime/ScriptBlockToP…https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/afa912047c78ceb5e2b259e365c5672b564a2a52
afa9120https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/afa912047c78ceb5e2b259e365c5672b564a2a52
https://patch-diff.githubusercontent.com/PaulHigin
PR commentshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/b76969a9c44f376485c7648bb815dce08536444d
b76969ahttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/b76969a9c44f376485c7648bb815dce08536444d
https://patch-diff.githubusercontent.com/PaulHigin
Merge branch 'fix-foreachparallel-using' ofhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/d4aecb849872956a452c455e6597d262e4182859
https://github.com/PaulHi…https://github.com/PaulHigin/PowerShell
d4aecb8https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/d4aecb849872956a452c455e6597d262e4182859
…gin/PowerShellhttps://github.com/PaulHigin/PowerShell
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
Backport-7.2.x-Consider https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Dec 7, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5730236134
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 8, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-988509170
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 8, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-988990667
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 8, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-989027399
https://user-images.githubusercontent.com/22290914/145256321-3cd532e3-5513-43ff-8091-ea9954a67dae.png
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 8, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-989038789
PowerShell/PowerShell-RFC#194https://github.com/PowerShell/PowerShell-RFC/pull/194
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Dec 8, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-989046609
PowerShell/PowerShell-RFC#194https://github.com/PowerShell/PowerShell-RFC/pull/194
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-991126156
@daxian-dbwhttps://github.com/daxian-dbw
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
Dec 10, 2021 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#pullrequestreview-829217997
View reviewed changes https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/d4aecb849872956a452c455e6597d262e4182859
src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/d4aecb849872956a452c455e6597d262e4182859#diff-e28b4e3eec16679ef3380ac970827b2deb6f049a0183273a7f5435da55225321
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Waiting on Author https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5749536323
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-991213084
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-991213757
@PaulHiginhttps://github.com/PaulHigin
#12378https://github.com/PowerShell/PowerShell/issues/12378
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Waiting on Author https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5749655031
https://patch-diff.githubusercontent.com/PaulHigin
Fix using scope check to account for other type of passed in script b…https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/2ae7a3f677ca16c115ce663e1baeeb8b14dbf22b
2ae7a3fhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/commits/2ae7a3f677ca16c115ce663e1baeeb8b14dbf22b
https://patch-diff.githubusercontent.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://patch-diff.githubusercontent.com/apps/pull-request-quantifier-deprecated
Medium https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AMedium
Small https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ASmall
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-5749861687
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 10, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-991260418
@daxian-dbwhttps://github.com/daxian-dbw
#12378https://github.com/PowerShell/PowerShell/issues/12378
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbwhttps://patch-diff.githubusercontent.com/daxian-dbw
Dec 10, 2021 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#pullrequestreview-829371771
View reviewed changes https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/2ae7a3f677ca16c115ce663e1baeeb8b14dbf22b
src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/2ae7a3f677ca16c115ce663e1baeeb8b14dbf22b#diff-e28b4e3eec16679ef3380ac970827b2deb6f049a0183273a7f5435da55225321
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
src/System.Management.Automation/engine/runtime/ScriptBlockToPowerShell.cshttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/2ae7a3f677ca16c115ce663e1baeeb8b14dbf22b#diff-e28b4e3eec16679ef3380ac970827b2deb6f049a0183273a7f5435da55225321
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Dec 14, 2021https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-993041186
@daxian-dbwhttps://github.com/daxian-dbw
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
cadd576https://patch-diff.githubusercontent.com/PowerShell/PowerShell/commit/cadd5762ea6b5d5e9b7e21b10e7a7887c27fdc45
Dec 14, 2021https://github.com/PowerShell/PowerShell/pull/16564#event-5761172028
TrapGodBrimhttps://patch-diff.githubusercontent.com/TrapGodBrim
Jan 19, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-commit-9896b7c
https://patch-diff.githubusercontent.com/PaulHigin
https://patch-diff.githubusercontent.com/TrapGodBrim
Fix ForEach-Object -Parallel when passing in script block variable (https://patch-diff.githubusercontent.com/TrapGodBrim/PowerShell/commit/9896b7c2cb7f92338b97b8edd44d0aecb020b88f
P…https://github.com/PowerShell/PowerShell/pull/16564
9896b7chttps://patch-diff.githubusercontent.com/TrapGodBrim/PowerShell/commit/9896b7c2cb7f92338b97b8edd44d0aecb020b88f
…owerShell#16564https://github.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/segraef
segraefhttps://patch-diff.githubusercontent.com/segraef
Feb 17, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-issue-602500663
ForEach-Object -Parallel disallows script blocks via $using:, unlike Start-ThreadJob #12378 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/12378
https://patch-diff.githubusercontent.com/ghost
ghosthttps://patch-diff.githubusercontent.com/ghost
Feb 24, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1050363450
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.3.0-preview.2
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
Feb 24, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-issue-1051167503
ForEach-Object -Parallel does not accept a scriptblock variable containing a $using #16445 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/16445
https://patch-diff.githubusercontent.com/TravisEz13
TravisEz13https://patch-diff.githubusercontent.com/TravisEz13
Mar 2, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1057310535
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/SeeminglyScience
SeeminglySciencehttps://patch-diff.githubusercontent.com/SeeminglyScience
Mar 14, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1067408781
@TravisEz13https://github.com/TravisEz13
@jborean93https://github.com/jborean93
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/TravisEz13
TravisEz13https://patch-diff.githubusercontent.com/TravisEz13
Backport-7.2.x-Consider https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Mar 29, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-6329493979
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Mar 29, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1082316375
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Backport-7.2.x-Consider https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Jun 23, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-6869689473
https://patch-diff.githubusercontent.com/PaulHigin
PaulHiginhttps://patch-diff.githubusercontent.com/PaulHigin
Jun 23, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1164891343
#17571https://github.com/PowerShell/PowerShell/issues/17571
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Backport-7.2.x-Approved https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Approved
Backport-7.2.x-Consider https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Aug 2, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-7112887579
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 2, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1203151388
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/apps/github-actions
github-actionshttps://patch-diff.githubusercontent.com/apps/github-actions
Aug 2, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1203151604
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://github.com/PowerShell/PowerShell/actions/runs/2784832290https://github.com/PowerShell/PowerShell/actions/runs/2784832290
https://repository-images.githubusercontent.com/49609581/aad0ad80-cdec-11ea-8248-a37bc0571bfd
https://camo.githubusercontent.com/31b18f9a643460151bb1b5cd58f8757abf4033b59d1d3f1103e29a01d0214fe6/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f66617669636f6e732f66617669636f6e2e737667
Fix ForEach-Object -Parallel when passing in script block variable · PowerShell/PowerShell@0e4d2e4https://github.com/PowerShell/PowerShell
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/apps/github-actions
github-actionshttps://patch-diff.githubusercontent.com/apps/github-actions
Aug 2, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1203151813
@adityapatwardhanhttps://github.com/adityapatwardhan
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonovhttps://patch-diff.githubusercontent.com/iSazonov
Aug 5, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1205987936
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
@adityapatwardhanhttps://github.com/adityapatwardhan
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 5, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1206038236
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 8, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1208524640
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 8, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1208525524
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 8, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-commit-214fb23
https://patch-diff.githubusercontent.com/PaulHigin
https://patch-diff.githubusercontent.com/adityapatwardhan
Fix ForEach-Object -Parallel when passing in script block variable (https://patch-diff.githubusercontent.com/adityapatwardhan/PowerShell/commit/214fb2357505387a62baf985a476f684880d773c
P…https://github.com/PowerShell/PowerShell/pull/16564
214fb23https://patch-diff.githubusercontent.com/adityapatwardhan/PowerShell/commit/214fb2357505387a62baf985a476f684880d773c
…owerShell#16564https://github.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 8, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-pullrequest-1332307600
Fix ForEach-Object -Parallel when passing in script block variable (#16564) #17860 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/17860
https://patch-diff.githubusercontent.com/adityapatwardhan
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Backport-7.2.x-Done https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Done
Backport-7.2.x-Approved https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Approved
Aug 8, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#event-7150292431
https://patch-diff.githubusercontent.com/ghost
ghosthttps://patch-diff.githubusercontent.com/ghost
Aug 11, 2022https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#issuecomment-1212553294
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.6
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
adityapatwardhanhttps://patch-diff.githubusercontent.com/adityapatwardhan
Aug 12, 2022 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-commit-f153a64
https://patch-diff.githubusercontent.com/adityapatwardhan
Fixhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/commit/f153a64400439ed2a8e002a665495ba762e1c261
ForEach-Object -Parallelhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/commit/f153a64400439ed2a8e002a665495ba762e1c261
when passing in script block variable (https://patch-diff.githubusercontent.com/PowerShell/PowerShell/commit/f153a64400439ed2a8e002a665495ba762e1c261
#…https://github.com/PowerShell/PowerShell/pull/16564
f153a64https://patch-diff.githubusercontent.com/PowerShell/PowerShell/commit/f153a64400439ed2a8e002a665495ba762e1c261
…16564https://github.com/PowerShell/PowerShell/pull/16564
#17860https://github.com/PowerShell/PowerShell/pull/17860
https://patch-diff.githubusercontent.com/DarkLite1
DarkLite1https://patch-diff.githubusercontent.com/DarkLite1
Mar 12, 2024 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-issue-2181156486
ForEach-Object -Parallel does not accept a scriptblock variable containing a $using #21332 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/21332
https://patch-diff.githubusercontent.com/TravisEz13
TravisEz13https://patch-diff.githubusercontent.com/TravisEz13
Apr 16, 2024 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-pullrequest-2246433688
WIP: add more detail to suspicious scriptblock logging #21475 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/21475
https://patch-diff.githubusercontent.com/TravisEz13
TravisEz13https://patch-diff.githubusercontent.com/TravisEz13
Jul 9, 2024 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564#ref-pullrequest-2399226447
Add script to update SDK for release branches #24034 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/24034
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F16564
https://patch-diff.githubusercontent.com/iSazonov
iSazonov https://patch-diff.githubusercontent.com/iSazonov
https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/22d2b87c39fb86534b7114784e3572e26813b0c2
https://patch-diff.githubusercontent.com/daxian-dbw
daxian-dbw https://patch-diff.githubusercontent.com/daxian-dbw
https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564/files/8ca40d8fe357d5ff1db156222f0524c05bcfb85d
https://patch-diff.githubusercontent.com/powercode
powercode https://patch-diff.githubusercontent.com/powercode
https://patch-diff.githubusercontent.com/iSazonov
iSazonov https://patch-diff.githubusercontent.com/iSazonov
Backport-7.2.x-Done https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Done
CL-General https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Medium https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AMedium
ForEach-Object -Parallel does not accept a scriptblock variable containing a $using https://github.com/PowerShell/PowerShell/issues/16445
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/pull/16564
https://patch-diff.githubusercontent.com/PaulHigin
https://patch-diff.githubusercontent.com/iSazonov
https://patch-diff.githubusercontent.com/daxian-dbw
https://patch-diff.githubusercontent.com/TravisEz13
https://patch-diff.githubusercontent.com/SeeminglyScience
https://patch-diff.githubusercontent.com/adityapatwardhan
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.