ModuleBuilder
A PowerShell Module to help scripters write, version, sign, package, and publish. (by PoshCode)
PoshRSJob
Provides an alternative to PSjobs with greater performance and less overhead to run commands in the background, freeing up the console and allowing throttling on the jobs. (by proxb)
ModuleBuilder | PoshRSJob | |
---|---|---|
6 | 6 | |
423 | 528 | |
1.9% | - | |
6.7 | 0.0 | |
about 2 months ago | over 3 years ago | |
PowerShell | PowerShell | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ModuleBuilder
Posts with mentions or reviews of ModuleBuilder.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-05.
-
Access module's private member functions inside another Runspace
I'm using the ModuleBuilder module to perform the build. This follows the "Public", and "Private" folder conventions, etc... It builds the module into one single `.psm1`, from all the files in the public and private folders. Any function files in the public folder are automatically added to the exported module functions in the module's `.psd1` manifest.
-
Module, functions in different files?
I recommend using this module. You organize your module to have a source folder with private and public folders containing your private and public functions in individual files. You can then invoke Build-Module and the module will put it all together into module. I recommend reading their readme for more information on how to set it up. https://github.com/PoshCode/ModuleBuilder
-
first experience of structuring powershell class libraries
The closest to that is using something like ModuleBuilder and building a single psm1 as a build step. That's the closest to a supported way to do that.
-
PowerShell amateur looking for feedback
I've always just used my own script for this so I can't tell you more than what you yourself can read here: https://github.com/PoshCode/ModuleBuilder
-
How to manage long scripts/How can I split documentation out to a seperate file?
Link: https://github.com/PoshCode/ModuleBuilder
-
My own Powershell Module builder.
My team uses https://github.com/PoshCode/ModuleBuilder to do module building, but it's much along the same idea as what you're doing.
PoshRSJob
Posts with mentions or reviews of PoshRSJob.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-05.
-
Access module's private member functions inside another Runspace
The module utilizes runspaces using PoshRSJob for some tasks. The scripts that are run inside these runspaces are going to be provided as part of the module. There are considered private and not intended to be altered or run directly.
- Is there a way to make multiple commands run in parallel prior to PowerShell 7's ForEach-Parallel?
- Looking for GUI help with PowerShell
-
How to recursively look for files containing a matching pattern starting in C:? (in parallel if possible)
The easiest part to multithread would be the part where you're searching for your pattern. Which can be done in many different ways. Some multithreading examples are linked below. ThreadJob module PoshRSJob module Runspacepool class
-
Optimize script - script taking too long to run
A for loop is slightly faster than a foreach loop. Even faster would be to iterate through them in parallel. I'd recommend a read through this rather good blog post https://adamtheautomator.com/powershell-multithreading/ Which is comprehensive in the subject. I'd recommend one of these three options in this regard. PoshRSJob (Module) ThreadJob (Module) Runspacepool (Native. Most complex) Good example to build upon https://learn-powershell.net/2018/01/28/dealing-with-runspacepool-variable-scope-creep-in-powershell/
-
Friday PowerShell Discussion: Fixing Automation
On Posh 5.1, you use PoshRSJob.
What are some alternatives?
When comparing ModuleBuilder and PoshRSJob you can also consider the following projects:
PSModuleBuilder
Invoke-Parallel - Speed up PowerShell with simplified multithreading
Stucco - An opinionated Plaster template for high-quality PowerShell modules
PS2EXE - Module to compile powershell scripts to executables
powershell-poc
ip_scan - Scan a list of IPs quickly using multithreading
WPFBot3000 - Simple domain-specific language for a small subset of WPF, mainly for doing very limited (get the picture?) input forms in PowerShell
choco-runner - Rapid fast multi package installer for chocolatey packages. Uses different threads for mach speed