PoshRSJob

1.7.3.5

Module designed to use PowerShell runspaces to create jobs that allow throttling and quicker execution of commands

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PoshRSJob -RequiredVersion 1.7.3.5

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PoshRSJob -Version 1.7.3.5

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2014 Boe Prox. All rights reserved.

Package Details

Author(s)

  • Boe Prox

Tags

PoshRSJob Runspace RunspacePool Linux PowerShellCore RSJob

Functions

Get-RSJob Receive-RSJob Remove-RSJob Start-RSJob Stop-RSJob Wait-RSJob

Dependencies

This module has no dependencies.

Release Notes

---------
|1.7.3.5|
---------
* #119 (Passing an empty batch to Wait-RSJob stops all further processing in the caller)
* #95 (RSJob State does not reflect actual state of job)
* #111 (Exception calling "BeginInvoke" with "0" argument(s): "Cannot perform the operation because the runspace pool is not in the 'Opened' state. The current state is 'Closed'." )

---------
|1.7.3.3|
---------
* Fixed Issue #116 (v1.7.3.0 is extremely slow)
* Fixed Issue #75 (Feature Request: Add RunspaceID handling to Start-RSJob for better throttling support)
* Fixed Issue #107 (Write-Stream throws lots of spurious errors on missing variables)
* Added some better support for streams with Receive-RSJob

---------
|1.7.3.0|
---------
* Fixed Issue #112 (TabExpansion puts a small error in $error)
* Fixed Issue #115 (Multiple runspaces are being created when running Start-RSJob)

---------
|1.7.2.9|
---------
* Fixed Issue #101 (Wait-RsJob -State Completed with no input returns Attempted to divide by zero.)
* Fixed Issue #108 (Caveats of Start-RSJob -ModulesToImport) - Using ForEach loop with PoshRSJob no longer works with this update due to issues that it brought with -ModulesToImport, -FunctionsToLoad and -PSSnapinsToImport where these would fail due to a runspacepool already being used.

---------
|1.7.2.7|
---------
* Fixed Issue #102 (Receive-RsJob doesn't process -InputObject properly)

---------
|1.7.2.6|
---------
* Fixed Issue #99 (Add an InputObject property to RSJob)

---------
|1.7.2.5|
---------
* Fixed Issue #96 (Error when -FunctionsToLoad parameter is used and the Function does not have an alias)

---------
|1.7.2.4|
---------
* Fixed Issue #92 (Cannot load module in PS4 due to "class" keyword)


---------
|1.7.2.3|
---------
* Fixed Issue #87 (Stop-RSJob gives an error if it has no input)

---------
|1.7.2.2|
---------
* Fixed Issue #59 (Receive-RSJob doesn't clear a job's HasMoreData state)

---------
|1.7.2.1|
---------
* Fixed Issue #83 (FunctionsToImport should include the function's Alias where applicable)


---------
|1.7.1.0|
---------
* Replaced private apis with public apis (#85 Update RunspaceConfiguration apis to use InitialSessionState instead)

---------
|1.7.0.0|
---------
* Remove need for DLL file for building out the classes. Using pure PowerShell (mostly) via means of here-strings and Add-Type for PowerShell V2-4 and the new Classes keywords for PowerShell V5 which includes PowerShell Core/Nano.
* Remove the prefixes for custom objects so they no longer start with PoshRS.PowerShell.. Now they are V2UsingVariable, RSJob and RSRunspacePool.

---------
|1.6.2.1|
---------
* Add support for PowerShell Core on Linux/MacOS (this still needs more work but should load types within a runspace now!)

---------
|1.6.1.0|
---------
* Fixed Issue #75 (Feature Request: Add RunspaceID handling to Start-RSJob for better throttling support)
* Fixed Issue #82 (Exception setting "RunspacePool" in 1.6.0.0 build)

---------
|1.5.7.7|
---------
* Fixed Issue #69 (Module produces error if imported more than once (PS v2 only))
* Fixed Issue #64 (HadErrors in PoshRS.PowerShell.RSJob throws errors in PowerShell V2)
* Fixed Issue #67 (Converted Add-Type code for C# classes to be created via Reflection for Nano server support) <- Created custom dll
* Fixed Issue #61 (Receive-RSJob not allowing -Job parameter input)
* Fixed Issue #63 (Replaced Global variables with Script scope)
* Fixed Issue #66 (Parameters don't work with PowerShell V2)
* Fixed Issue #65 (Bug with v2 variable substitution - single-quoted strings get $var references replaced)
* Fixed Issue #68 (ApartmentState Does Not Exist in Nano)
* Fixed Issue #76 (Jobs don't have output when using ADSI WinNT provider (Receive-RSJob))

FileList

Version History

Version Downloads Last updated
1.7.4.4 722,633 2/24/2018
1.7.4.3 331 2/15/2018
1.7.4.1 496 1/31/2018
1.7.4.0 939 1/28/2018
1.7.3.11 67 1/28/2018
1.7.3.9 4,494 4/9/2017
1.7.3.8 157 4/3/2017
1.7.3.7 333 3/6/2017
1.7.3.5 (current version) 1,178 1/14/2017
1.7.3.3 534 11/14/2016
1.7.3.2 63 11/13/2016
1.7.3.1 68 11/13/2016
1.7.3.0 90 11/10/2016
1.7.2.9 414 9/29/2016
1.7.2.7 98 9/26/2016
1.7.2.6 82 9/23/2016
1.7.2.4 297 8/31/2016
1.7.2.3 2,206 8/30/2016
1.7.2.2 66 8/30/2016
1.7.2.0 126 8/29/2016
1.7.1.0 68 8/27/2016
1.7.0.0 323 8/24/2016
1.6.2.1 63 8/23/2016
1.6.1.0 159 8/15/2016
1.6.0.0 87 8/12/2016
1.5.7.7 369 6/26/2016
1.5.7.6 151 6/9/2016
1.5.7.5 219 5/16/2016
1.5.7.4 63 5/16/2016
1.5.7.3 227 5/2/2016
1.5.7.2 152 4/20/2016
1.5.7.1 137 4/10/2016
1.5.7.0 63 4/10/2016
1.5.6.2 66 4/9/2016
1.5.6.1 74 4/8/2016
1.5.6.0 66 4/8/2016
1.5.5.4 122 3/29/2016
1.5.5.3 289 1/11/2016
1.5.5.2 67 1/9/2016
1.5.5.1 122 12/8/2015
1.5.5.0 175 10/7/2015
1.5.3.0 83 9/30/2015
1.5.2.0 64 9/30/2015
1.5.1.0 74 9/26/2015
1.4.3.0 94 9/20/2015
1.4.2.0 63 9/20/2015
1.4.1.0 73 9/17/2015
1.2.10.0 100 8/25/2015
1.2.9.0 72 8/25/2015
1.2.8.0 68 8/21/2015
1.2.7.0 68 8/20/2015
1.2.6.0 93 8/1/2015
1.2.5.0 76 7/23/2015
1.2.4.0 76 7/11/2015
1.1.4.0 65 7/10/2015
1.1.3.0 86 6/22/2015
1.1.2.0 91 6/10/2015
1.1.1.0 73 6/10/2015
1.0.1.0 94 4/22/2015
Show less