PowerShell Write-Host Word Wrap

Writing large blocks of text using Write-Host isn’t always pretty. Try Write-Paragraph instead...

October 28, 2020 · 3 min · Nick Spreitzer

How To Debug PowerShell Core Binary Cmdlets

Just a few minor tweaks is all it takes to get going with PowerShell Core cmdlets. I just wish it was documented better....

October 23, 2018 · 3 min · Nick Spreitzer

Gotcha! The PowerShell Call (&) Operator and String Concatenation

What I learned by trying to contatenate a collection of string fragments into a single executable command....

February 23, 2018 · 1 min · Nick Spreitzer

How To Compose A PowerShell Module With Multiple Script Files

All I wanted was something I take for granted as a C# developer: the ability to create a PowerShell module that’s composed of multiple script files - one for each function - instead of putting every function in a single .psm1 file. It’s actually a simple thing to accomplish, and yet it’s unbelievably difficult to find a tutorial that explains how to do it. This article seeks to fill that void and save future googlers all the time I sunk into research, trial, and error....

December 17, 2017 · 5 min · Nick Spreitzer