René's URL Explorer Experiment


Title: Support splatting `-ArgumentList` with hashtable too · Issue #37 · PowerShell/ThreadJob · GitHub

Open Graph Title: Support splatting `-ArgumentList` with hashtable too · Issue #37 · PowerShell/ThreadJob

X Title: Support splatting `-ArgumentList` with hashtable too · Issue #37 · PowerShell/ThreadJob

Description: Summary of the new feature / enhancement Start-ThreadJob (and Start-Job for reference) currently only supports splatting -ArgumentList with array: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_...

Open Graph Description: Summary of the new feature / enhancement Start-ThreadJob (and Start-Job for reference) currently only supports splatting -ArgumentList with array: https://learn.microsoft.com/en-us/powershell/modul...

X Description: Summary of the new feature / enhancement Start-ThreadJob (and Start-Job for reference) currently only supports splatting -ArgumentList with array: https://learn.microsoft.com/en-us/powershell/modul...

Opengraph URL: https://github.com/PowerShell/ThreadJob/issues/37

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support splatting `-ArgumentList` with hashtable too","articleBody":"### Summary of the new feature / enhancement\r\n\r\n`Start-ThreadJob` (and `Start-Job` for reference) currently only supports splatting `-ArgumentList` with array:\r\n\r\n* \u003chttps://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.4#splatting-with-arrays>\r\n\r\nThis means some example code must be like this:\r\n\r\n```powershell\r\n$JobsUsingArray  = [array](\r\n    1 .. 3 | ForEach-Object -Process {\r\n        Start-ThreadJob -ScriptBlock {\r\n            [OutputType([System.String])]\r\n            Param(\r\n                [Parameter(Mandatory,Position=0)][string]$SomeParameter\r\n            )\r\n            Write-Output -InputObject $SomeParameter\r\n        } -ArgumentList ('Hello {0}' -f $_)\r\n    }\r\n)\r\nReceive-Job -Job $JobsUsingArray -Wait\r\n```\r\n\r\nwhich returns:\r\n\r\n```\r\nHello 1\r\nHello 2\r\nHello 3\r\n```\r\n\r\nI much prefer to splat using name of the input parameters, so splatting with hashtable. I'd like this to work too:\r\n\r\n```powershell\r\n$JobsUsingHashtable = [array](\r\n    1 .. 3 | ForEach-Object -Process {\r\n        Start-ThreadJob -ScriptBlock {\r\n            [OutputType([System.String])]\r\n            Param(\r\n                [Parameter(Mandatory)][string]$SomeParameter\r\n            )\r\n            Write-Output -InputObject $SomeParameter\r\n        } -ArgumentList @{\r\n            'SomeParameter' = [string] 'Hello {0}' -f $_\r\n        }\r\n    }\r\n)\r\nReceive-Job -Job $JobsUsingHashtable -Wait\r\n```\r\n\r\nwhich returns\r\n\r\n```\r\nSystem.Collections.Hashtable\r\nSystem.Collections.Hashtable\r\nSystem.Collections.Hashtable\r\n```\r\n\r\n### Proposed technical implementation details (optional)\r\n\r\n_No response_","author":{"url":"https://github.com/o-l-a-v","@type":"Person","name":"o-l-a-v"},"datePublished":"2024-05-27T11:33:33Z","url":"https://github.com/PowerShell/ThreadJob/issues/37"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:84a18362-e53e-65d8-4574-402f62e15717
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8518:28C95D:114B386:188B718:6AFCD59A
html-safe-noncedba717c34c550d42d840642d2f7234fbc0339bdd1f9a6675b448d0fbae57c18c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTE4OjI4Qzk1RDoxMTRCMzg2OjE4OEI3MTg6NkFGQ0Q1OUEiLCJ2aXNpdG9yX2lkIjoiMzUxNjgwNjI3NDE1NjkwOTk3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac63e248cf79e425a2b15a9c70841a8127280af0aff9381d752dafb7e220ec2b90
hovercard-subject-tagissue:2318938580
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/ThreadJob/37/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7a1e63f59592977b23b511caf5987d79c965c2aa6a9019c75c20d07f85895ab8/PowerShell/ThreadJob/issues/37
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a1e63f59592977b23b511caf5987d79c965c2aa6a9019c75c20d07f85895ab8/PowerShell/ThreadJob/issues/37
og:image:altSummary of the new feature / enhancement Start-ThreadJob (and Start-Job for reference) currently only supports splatting -ArgumentList with array: https://learn.microsoft.com/en-us/powershell/modul...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameo-l-a-v
hostnamegithub.com
expected-hostnamegithub.com
Noneb5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/ThreadJob git https://github.com/PowerShell/ThreadJob.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id265675369
octolytics-dimension-repository_nwoPowerShell/ThreadJob
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id265675369
octolytics-dimension-repository_network_root_nwoPowerShell/ThreadJob
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
releaseff5022cc3aa767e6115451d9c322dd975506d40e
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/ThreadJob/issues/37#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FThreadJob%2Fissues%2F37
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%2FThreadJob%2Fissues%2F37
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FThreadJob
Reloadhttps://github.com/PowerShell/ThreadJob/issues/37
Reloadhttps://github.com/PowerShell/ThreadJob/issues/37
Reloadhttps://github.com/PowerShell/ThreadJob/issues/37
PowerShellhttps://github.com/PowerShell
ThreadJobhttps://github.com/PowerShell/ThreadJob
Codehttps://github.com/PowerShell/ThreadJob
Issues15 (15)https://github.com/PowerShell/ThreadJob/issues
Pull requests11 (11)https://github.com/PowerShell/ThreadJob/pulls
Actionshttps://github.com/PowerShell/ThreadJob/actions
Projectshttps://github.com/PowerShell/ThreadJob/projects
Security and qualityhttps://github.com/PowerShell/ThreadJob/security
Insightshttps://github.com/PowerShell/ThreadJob/insights
https://github.com/PowerShell/ThreadJob
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/ThreadJob/issues/37
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/ThreadJob/issues/37
Support splatting -ArgumentList with hashtable toohttps://github.com/PowerShell/ThreadJob/issues/37#top
https://github.com/o-l-a-v
Olav Rønnestad Birkeland (o-l-a-v)https://github.com/o-l-a-v
on May 27, 2024https://github.com/PowerShell/ThreadJob/issues/37#issue-2318938580
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.4#splatting-with-arrayshttps://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.4#splatting-with-arrays
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/ThreadJob/issues/37
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/ThreadJob/issues/37
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.