PSParallel
PSParallel copied to clipboard
PowerShell module to invoke scriptblocks in parallel runspaces
Hello, Great work still being used. Would like to request adding a time out to the threads if possible. Sometimes when I am running a command against a list of...
I have a variable: $syncHash.count, which is supposed to be thread-safe. But in this case, it's not: $collection | Invoke-Parallel -scriptblock { $syncHash.count ++ } I have to use mutex...
Is there a reason why version 2.2.3 is not published on the Powershell Gallery? Just curious as I saw some bug fixes corrections (reuse) in 2.2.3. Thank you
When Invoke-Parallel is called from .ps1 script root (not from within a function), locally scoped variables are not copied to the script block. This issue does not present when Invoke-Parallel...
Progress output only acknowledges one object when using -InputObject, as opposed to pipeline input.
``` PowerShell class Foo { $I Foo($i){ $this.I = $i } } 1..10 | Invoke-Parallel {[Foo]::new($_)} ``` Error: Invoke-Parallel : Unable to find type [Foo].
The help for Invoke Parallel states that the -ImportModule and -ImportVariable switch parameters can be used to import the modules in the current session as well as the variables: DESCRIPTION...
Hello team, Using PSParallell and it is working well under ISE / powershell console. However using it under VSO build agent just stuck. It might be due to progress report...
Hello team, having the following issue while using Invoke-Parallel + remote PS session + Write-Host ``` Invoke-Parallel : A command that prompts the user failed because the host program or...