Behind the PowerShell Pipeline
Archives
Search...
Subscribe
Getting the Message in PowerShell
Premium post · January 5, 2023
One of the challenges with scripting in PowerShell is to protect sensitive information. We all know it is bad practice to hard-code credentials and passwords...
A Changelog for the Better
Premium post · January 3, 2023
It is a new year which means it is time for a few resolutions. One change I have in mind for the new year is maintaining better change logs for my PowerShell...
Creating a Learning Plan for 2023
December 22, 2022
Congratulations! You made it through another year. This was not an easy year for the tech industry. Every day I read about more layoffs and re-organizations....
Clean Text Files with Regular Expressions Revisited
Premium post · December 20, 2022
In the November 2022 Ask Jeff article, I shared a simple regular expression pattern you could use to filter out blank and commented lines, using a #...
Cleaning Your PowerShell House
Premium post · December 15, 2022
As you develop your PowerShell scripting skills, you will advance from creating simple scripts to writing advanced functions that consume pipeline input and...
Climbing Higher in the Abstract Syntax Tree
Premium post · December 13, 2022
In the previous article, I introduced you to the AST (Abstract Syntax Tree). This is how PowerShell parses your commands and scripts. Tools like VS Code take...
Climbing the Abstract Syntax Tree
Premium post · December 8, 2022
If you’ve been using PowerShell for any length of time, you’ve noticed that features like tab completion fail if there is an error in your command. Or when...
Critiquing Code Comments
Premium post · December 6, 2022
I am assuming that if you are reading this article, you are writing PowerShell code. I assume you are at least writing simple PowerShell scripts. Probably...
Leveraging PSObject
Premium post · November 22, 2022
In the last article, we dove into the internals of how PowerShell creates and defines objects. It doesn’t matter if it is the result from running Get-Process...
Building PowerShell Objects
Premium post · November 17, 2022
One reason that PowerShell is so valuable to IT professionals is that a great deal of work went into it to take advantage of the .NET Framework but not...
Hanging by a Thread
Premium post · November 15, 2022
Over the last few weeks, we've been exploring techniques and concepts that you can use to scale your PowerShell scripting. Time is valuable, and there is...
More Runspaces and Parallel Processing
Premium post · November 10, 2022
In the last article, we began exploring alternatives that would allow us to scale commands. This is especially useful for commands that might take long to...
Everything Everywhere All at Once
Premium post · November 8, 2022
You’ve heard me talk about “managing at scale” in previous articles. If you can do something to one thing, you can most likely do it for hundreds or...
Collection Enumeration with ForEach()
Premium post · November 3, 2022
In my last article, I introduced you to a collection filtering option that you may not have been familiar with, the Where() method. This and the related...
Collection Filtering and Enumeration
Premium post · November 1, 2022
One of PowerShell’s benefits is the ability to manage at scale. Instead of processing one thing at a time, we can manage a bunch of things all at once in the...
Eventing Event Logs with PowerShell
Premium post · October 20, 2022
I thought I was finished covering eventing with PowerShell, but a recent message on Twitter led to one final article. The question was about watching for new...
CimIndicationEvents Happen
Premium post · October 18, 2022
I hope you are finding this series on eventing in PowerShell helpful. Once you understand how to set up event subscriptions, I’m sure you are recognizing...
PowerShell Eventing with WMI and CIM
Premium post · October 13, 2022
Let’s continue our exploration of using events in PowerShell. Using objects like the FileSystemWatcher can be invaluable, but we’re just scratching the...
Object Eventing
Premium post · October 11, 2022
In my previous article, I started a series of articles on eventing in PowerShell. With eventing, you can take action, or at least be notified, that something...
Free Training Week at Pluralsight
October 10, 2022
This is a great deal that I wanted to make sure you were aware of. For a full WEEK, you can consume as much free content as you can handle. Pluralsight is...
Newer archives
Older archives