At the end of last year wrote a series of blog posts describing tools and techniques for working with PowerShell scripts and functions. My goal was to build a framework of tools that I could use to automate PowerShell scripting work, such as creating a new module from a group of existing files. I've finally got a new module released to the PowerShell Gallery and on Github. Technically, it is pre-release, but I'm hoping some of you will give it a spin. I'm already working on revisions.
ManageEngine ADManager Plus - Download Free Trial
Exclusive offer on ADManager Plus for US and UK regions. Claim now!
The PSFunctionTools module is written for PowerShell 7. One of my goals for this year is to leave Windows PowerShell behind and fully commit to PowerShell 7.x. This module is the first step. That's not to say that many of the commands won't work on Windows PowerShell. But you'll have to fork or download the repository and create a version compatible with Windows PowerShell.
Here's what I have so far.
And a few of the tools in action.
I also have a Samples folder with several test scripts and functions that you can play with and see how to use the module.
To try for yourself, install in PowerShell 7.
Install-Module PSFunctiontools -AllowPrerelease -force
Please use the Issues section in the Github repository to report problems and suggestions. I look forward to your feedback.
*Install-Module PSFunctionTools -AllowPrerelease
Ah! Thanks for catching that. I updated the post.