Behind the PowerShell Pipeline
Archives
Search...
Subscribe
Formatting with PSStyle
Premium post · September 13, 2022
I trust you have found this series on ANSI and $PSStyle intriguing and have begun looking for ways to integrate it into your PowerShell scripting. It will be...
PSStyle in Action
Premium post · September 8, 2022
We’re nearing the end of our exploration into ANSI and PSStyle. Hopefully, you are just getting started. At this point, you should be able to construct a...
PowerShell with Style
Premium post · September 6, 2022
Let’s continue our exploration of ANSI escape sequences and how to incorporate color or formatting into our PowerShell scripting. If you missed them, I...
More Pretty PowerShell
Premium post · August 25, 2022
In my previous article, I began a series of lessons on ANSI escape sequences. At first glance, they may appear daunting. But once you understand how they are...
Pretty PowerShell is Better PowerShell
Premium post · August 23, 2022
It should come as no surprise that I am an old-school, command-line kind of guy. I am thrilled when I can type out a command and get a result in the console....
Taking PowerShell in a New (Re)direction
Premium post · August 17, 2022
Normally, when we run a PowerShell command or pipeline expression, we focus on the output. We’re manipulating objects in the pipeline until we get the...
Information is Power
Premium post · August 11, 2022
Earlier this year, I published an article on creating better PowerShell output. One of the techniques I demonstrated involved using the Write-Information...
Stacking Locations in PowerShell
August 9, 2022
I’m expecting that a significant number of you use PowerShell from an interactive console prompt. You are running commands, changing directories, and...
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...
Newer archives
Older archives