mirror of
https://github.com/freedbygrace/Invoke-PSThread.git
synced 2026-07-26 11:28:14 +00:00
Update Invoke-PSThread.ps1
This commit is contained in:
+2
-2
@@ -215,7 +215,7 @@ Function Invoke-PSThread
|
|||||||
|
|
||||||
$InvokePSThreadResult = Invoke-PSThread @InvokePSThreadParameters
|
$InvokePSThreadResult = Invoke-PSThread @InvokePSThreadParameters
|
||||||
|
|
||||||
#Do some additional code here
|
#Do some additional work here before beginning to wait for your runspace pool to be completed.
|
||||||
|
|
||||||
$InvokePSThreadParameters = New-Object -TypeName 'System.Collections.Specialized.OrderedDictionary'
|
$InvokePSThreadParameters = New-Object -TypeName 'System.Collections.Specialized.OrderedDictionary'
|
||||||
$InvokePSThreadParameters.Await = $True
|
$InvokePSThreadParameters.Await = $True
|
||||||
@@ -915,4 +915,4 @@ Function Invoke-PSThread
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user