Receive-RsJob doesn't process -InputObject properly
codykonior opened this issue · comments
$a = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo" }
$b = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo2" }
$c = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo3" }
Receive-RSJob -InputObject $a
Outputs:
Moo
Moo2
Moo3
These do work:
Receive-RSJob -Id $a.Id
$a | Receive-RSJob
Moo
Moo
I thought this was fixed but it appears to have regressed.