Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Powershell start Job

#Powershell
$Param1 = "Hello"
$Param2 = "World"
$Job = Start-Job -ScriptBlock {
    param(
        $FirstWord,
        $SecondWord
    )
    Write-Host "$FirstWord $SecondWord"
} -ArgumentList $Param1, $Param2

Receive-Job -Job $Job -Wait
 
PREVIOUS NEXT
Tagged: #Powershell #start #Job
ADD COMMENT
Topic
Name
6+4 =