Call Bash in Parallel from Powershell

#!/usr/bin/env pwsh

Write-Host "Hello from PowerShell!"

1..2 | ForEach-Object -Parallel {
    bash /Users/nkondrat/vintrin-env/.tmp/scratches/scratch.sh $_ ABC
} -ThrottleLimit 1000

Backlinks