Lerch Web Wiki

Random, erratic, no responsibility is taken for the correctness of this information

User Tools

Site Tools


powershell:basics:jobs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

powershell:basics:jobs [2017/02/21 11:05]
marcus created
powershell:basics:jobs [2017/02/21 11:05] (current)
marcus
Line 2: Line 2:
  
 <code powershell Job-OutputSamples.ps1>​ <code powershell Job-OutputSamples.ps1>​
-$job = start-job { $(Write-Verbose "​Verbose 1" -verbose; 1..10 | % { "​Output $_" }; Write-Verbose "​Verbose 2" -verbose) *>&1 } +$job = start-job { $(Write-Verbose "​Verbose 1" -verbose; 1..10 |  
 +  ​% { "​Output $_" }; Write-Verbose "​Verbose 2" -verbose) *>&1 } 
  
 $job | Wait-Job $job | Wait-Job
powershell/basics/jobs.txt · Last modified: 2017/02/21 11:05 by marcus