Invoke-Parallel icon indicating copy to clipboard operation
Invoke-Parallel copied to clipboard

Speed up PowerShell with simplified multithreading

Results 21 Invoke-Parallel issues
Sort by recently updated
recently updated
newest added

This causes some issues when running scripts that interact with the filesystem using a relative path, e.g. downloading a file ![image](https://user-images.githubusercontent.com/715417/164074147-387054b7-0389-4cf6-9175-dc5ca2237841.png)

Added documentation for the ImportFunction parameter added Pull #46 (c9c6ae0)

This line: `$runspace.powershell.EndInvoke($runspace.Runspace)` Means that if your session is set to stop on errors, and any of your jobs write an error, Invoke-Parallel will error out at the point it...

help wanted

Modules is the preferred way to distribute reusable components.

enhancement
help wanted

Goal: I am trying to only use PowerShell to conduct a ping sweep and I want to perform the fastest ping sweep possible. Research: I found a quick single line...

I am processing large objects and I would like Invoke-Parallel to push 1000 threads at a time. The job is done for only 400+ objects. But when I change the...

I'm trying to call some custom functions inside of Invoke-Parrallel as such: ``` if ($xmlfile.configuration.DBAndFilesBackup.item("MSSQL").haschildnodes) { foreach ($backup in $xmlfile.configuration.DBAndFilesBackup.MSSQL.backup) { Invoke-Parallel -ImportVariables -Throttle 2 { # Create a unique...

enhancement
help wanted

I need to display the number of records being processed by Invoke-Parallel in a WinForms variable. For that I need to keep a Counter variable. I tried Boe's [synchronized hash...

Please, observe the following script: ```Powershell param([switch]$Cleanup, [Switch]$MockMutex, $N = 1) function Cleanup() { 1..$N | ForEach-Object { Unregister-PSRepository "r$_" -ErrorAction SilentlyContinue } Remove-Item $WorkDir -ErrorAction SilentlyContinue -Recurse } $WorkDir...