-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Documentation Needed in this repoDocumentation is needed in this repoDocumentation is needed in this repoIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core module
Description
While you're at improving ForEach-Object -Parallel please address this:
Doesn't work
$OhMy = 'Test'
(1..100) | ForEach-Object -Parallel {
$Test = $Using:OhMy
(1..50) | ForEach-Object -Parallel {
$Test5 = $Using:Test
}
}Works:
$OhMy = 'Test'
$Test = $null
(1..100) | ForEach-Object -Parallel {
$Test = $Using:OhMy
(1..50) | ForEach-Object -Parallel {
$Test5 = $Using:Test
}
}DarkLite1
Metadata
Metadata
Assignees
Labels
Documentation Needed in this repoDocumentation is needed in this repoDocumentation is needed in this repoIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core module
