Behind the PowerShell Pipeline
Archives
Search...
Subscribe
Optimizing PowerShell Objects
Premium post · June 14, 2022
I recently posted an article on my blog about formatting property names from a Directory Searcher result. While that article and its accompanying code were...
The Collections Script Challenge
Premium post · June 9, 2022
A few weeks ago, I published an article on using generic collections in place of arrays. Arrays still have a place in your PowerShell scripting toolbox. But...
Creating User Friendly Code
Premium post · June 7, 2022
As you write PowerShell scripts and functions, I encourage you to think about who will be using your code and their expectations. Even if the user will be...
Collections in Action
Premium post · May 26, 2022
In the last article, I introduced the generic collection, a terrific alternative to using an array. Especially if you need to modify the array contents. A...
Arrays and Collections
Premium post · May 24, 2022
I do not doubt that you have used arrays in your PowerShell work. You might have created an array to hold the results of a PowerShell command at the console...
Best Practices Make Perfect
May 18, 2022
Over the last several weeks, I've been sharing and demonstrating techniques for writing effective PowerShell functions. I know I've mentioned a few...
Pipeline Possibilities
Premium post · May 11, 2022
In the previous article, I demonstrated how to add pipeline binding to your advanced PowerShell function. There is nothing wrong with writing a simple...
Advancing Your Functions
Premium post · May 4, 2022
I hope you've been enjoying this series of articles looking at how to build a PowerShell function. If you are a PowerShell beginner and can write a function...
Extending a PowerShell Function
Premium post · April 26, 2022
If you’ve been keeping up with the articles, you’ve seen how I went from a script block to a basic PowerShell function. This is a stand-alone function,...
More Basic Function Building
Premium post · April 21, 2022
In the last article, I demonstrated how to add parameters to a basic PowerShell function. Well-crafter parameters make your code flexible, re-usable, and...
Parameterizing the Basic Function
Premium post · April 19, 2022
In the last article, I showed you how to create a basic PowerShell function from a script block. A function at its core is nothing more than a script block...
Creating Basic Functions
Premium post · April 14, 2022
In a previous post, we looked at creating and using script blocks in PowerShell. As you’ll discover, these are the building blocks of PowerShell functions....
Building with Script Blocks
Premium post · April 12, 2022
Photo by Ryan Fields on Unsplash This month we’re going to dive deeper into PowerShell functions. A reader asked for more content on this topic, and I am...
Building a PowerShell Module
April 8, 2022
I hope you’ll indulge me and accept a slight deviation from the regular content. But this is something you might be interested in attending, and unless you...
Richer Logging for PowerShell
Premium post · April 5, 2022
Over the last several articles, I’ve demonstrated the importance of thinking about objects when creating PowerShell scripts. Once you get your head around...
Creating Better PowerShell Output - Practicum
Premium post · March 24, 2022
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...
Creating Better PowerShell Output Part 2
Premium post · March 22, 2022
Last time, I started to explain good construction techniques for your PowerShell code. We’re going to continue this topic by looking at what should be a...
Practical PowerShell Questions
March 21, 2022
A free content preview
Creating Better PowerShell Output Part 1
Premium post · March 17, 2022
There are some crucial guidelines you should follow when creating PowerShell-based tools. Presumably, you’ve written a PowerShell function that does...
Logging PowerShell Profiles
Premium post · March 15, 2022
Last month we dove into the world of PowerShell profile scripts. These configuration scripts run automatically every time you start a PowerShell session. As...
Newer archives
Older archives