You can simplify that by using the using keyword :-) $test = "123" 1..3 | foreach-object -parallel { echo "$_, $($using:test)" }.
確定! 回上一頁