Behind the PowerShell Pipeline logo

Behind the PowerShell Pipeline

Subscribe
Archives
February 7, 2023

"Live" PowerShell Tool Making Part 2

I hope you enjoyed the last article. I know I had a lot of fun writing and coding it. So much so that my brain is racing in a dozen directions over ways to automate the process. Scripting with the Crescendo module can be monotonous. But because there is a repetitive pattern, there may be ways to automate or at least facilitate the process. I think I’ll share a few ideas today, along with continued coding.

I’m sure you’ve heard the phrase “Infrastructure from code.” If you think about it, the Crescendo module allows you to create code from code. The Build.ps1 script I’m creating can eventually be run as often as necessary to rebuild my ghTools module. This feels like magic.

When we ended last, I had finished testing the Get-ghLabel command. One step I neglected was to add it to the array of commands that will eventually comprise the module.

$commands+=$cmd
Want to read the full issue?
GitHub Bluesky LinkedIn About Jeff
Powered by Buttondown, the easiest way to start and grow your newsletter.