mirror of
https://github.com/freedbygrace/Invoke-PSThread.git
synced 2026-08-11 18:56:54 +00:00
Update Invoke-PSThread.ps1
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user