swisscom/PowerSponse

Consider using jobs for concurrent execution of commands

Karneades opened this issue · 0 comments

Jobs: Clarify order of execution, sequencial, dependency between commands...

  • Use asjob / start-job / wait-job / Start-Job -Name "..." { sleep 20; get-process }
  • Get-WmiObject ... -asjob
  • $proc = get-job -Name "test" | Wait-Job | Receive-Job