Behind the PowerShell Pipeline
Archives
Search
Subscribe
Buffering Up the Pipeline
Premium post · August 4, 2022
In several of the last articles, I’ve alluded to how PowerShell passes objects down the pipeline. Most of the time, we don’t worry about it, and PowerShell...
More Common Variables That Aren't Common
August 2, 2022
In a recent article, I began exploring a few common parameters. These are parameters that every cmdlet includes, although I suspect their usage is anything...
Common Variables Are Anything But Common
July 21, 2022
When you run a PowerShell command, you have the benefit of also using several common parameters. These are parameters that are included with every cmdlet....
Wading into the Stream
Premium post · July 19, 2022
In the last article, we looked at several logging techniques you can use in your PowerShell scripting. I focused on writing text-based files as I expect this...
Logging in PowerShell and Performance Pitfalls
Premium post · July 14, 2022
It is not uncommon for IT Pros to incorporate logging into their PowerShell scripts and functions. Often this involves writing content to text files....
PowerShell Scripting in a Month of Lunches
July 13, 2022
Save 40% on the new edition
Making Associations with CIM
Premium post · July 12, 2022
Today’s article grew from a post I saw on the Facebook PowerShell group page. The question centered on the best way to filter results using Get-CimInstance....
More PowerShell Replacement Techniques
July 7, 2022
In the last article, I discussed and demonstrated a number of replacement techniques in PowerShell. You can use these techniques to replace strings or parts...
PowerShell Replacement Rules
Premium post · July 5, 2022
Even though we think about working with objects in PowerShell and not parsing strings, a string is still an object, and there are situations where we want to...
What's In a Name
June 23, 2022
“What’s in a name? That which we call a rose/ By any other name would smell as sweet.” - Romeo and Juliet I’m sure you are familiar with Shakespeare’s...
Collection Function Homework
Premium post · June 21, 2022
A few weeks ago, I shared my code utilizing generic collections to encode a text file by reversing each line and the entire file. The point of the exercise...
Scoping Out PowerShell Problems
Premium post · June 16, 2022
One of the challenges facing beginner PowerShell scripters is the concept of scope. I recall when I first learned PowerShell struggling to get my head...
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...
Newer archives
Older archives