Behind the PowerShell Pipeline
Archives
Search...
Subscribe
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...
Events Happen
Premium post · October 6, 2022
Today’s topic came to me from a reader and is an advanced PowerShell topic. It is something that you might find useful as an interactive management tool or...
Are You My Type?
October 4, 2022
One of the reasons PowerShell is so amazing is that it not only works with objects, but also with objects that have a specific type. Not only is a process...
Protecting Data
Premium post · September 22, 2022
In my last article, I demonstrated several PowerShell scripting techniques you could use to separate data from code. You want to avoid including the data you...
Clean Code is Secure Code
September 20, 2022
This is an article I have had scheduled for a while. It is a topic that should be self-evident, but in my experience, this isn’t always the case. And based...
A PowerShell Parsing Problem
Premium post · September 15, 2022
Recently, I received an email from a reader, Danny. He was looking for help with a parsing problem in PowerShell. He had a log file to re-format to meet a...
Newer archives
Older archives