Behind the PowerShell Pipeline logo

Behind the PowerShell Pipeline

Subscribe
Archives
March 24, 2022

Creating Better PowerShell Output - Practicum

Over the last few weeks, I’ve been writing about improving your PowerShell code. PowerShell functions should do one thing and write one type of object to the pipeline. Today, I want to walk through the development process to drive these points home. Your goal should be to write a PowerShell function that delivers the most value possible to whomever is running your code. It might not be you! Here’s how I tackle this challenge.

Start with a Command

I always recommend starting with a PowerShell command that you can run from the console. Let’s use this command.

Want to read the full issue?
GitHub Bluesky LinkedIn https://jdhitsoluti…
Powered by Buttondown, the easiest way to start and grow your newsletter.