Behind the PowerShell Pipeline
Archives
Search
Subscribe
Parameter Power
Premium post · May 2, 2023
When creating a PowerShell function, you've often heard me say, "Think about who will use it and what are their expectations?" As a corollary, you want to...
Data Files as Script Files
Premium post · April 25, 2023
Last year, I wrote an article about the importance of separating PowerShell code from the data you need to run that code. I still believe this is a critical...
Switch Hitting with PowerShell
Premium post · April 20, 2023
Last time we started diving into using the Switch construct in PowerShell scripting. I think this is an excellent alternative if you need to build a large...
Switching Things Up in PowerShell
Premium post · April 18, 2023
Learning the mechanics and syntax of PowerShell is not that difficult. Anyone can read the documentation for a concept like an IF statement and understand...
Logging with PowerShell Transcripts
Premium post · April 13, 2023
Over the course of the last several articles, we’ve been exploring how to use and manage PowerShell transcript files. Before we move on, I wanted to show you...
PowerShell Transcript Tools
Premium post · April 11, 2023
In the previous article, we looked at PowerShell’s transcription feature. Running Start-Transcript is a terrific way to maintain an audit log or history of...
PowerShell Transcript Techniques
Premium post · April 6, 2023
A helpful PowerShell feature that I don’t think many people take advantage of is transcription. It is very easy to create a text-based log file. The log file...
Building Class-Based PowerShell Modules
Premium post · April 4, 2023
Over the last several weeks, we’ve been exploring how to script with a PowerShell class. The last step is to take everything we’ve covered and wrap it up in...
Climbing the PowerShell Class Family Tree
Premium post · March 23, 2023
When I started this series, I pointed out that a PowerShell class, while easy to define, lacks all the features of a traditional class defined in a language...
Advanced PowerShell Class Extensions
Premium post · March 21, 2023
I think today’s article will be fun. We’ve been exploring how to write and use PowerShell classes in our scripting projects. I hope you’ve grabbed the demo...
Adding PowerShell Class Bells and Whistles
Premium post · March 16, 2023
I hope you’ve been enjoying this series of articles on developing with PowerShell classes. As you’ve seen, creating a PowerShell class is not that difficult,...
Extending PowerShell Classes with Methods
Premium post · March 14, 2023
We are in the middle of a series of articles teaching how to write PowerShell-based classes. This is a different kind of scripting technique, that I know...
PowerShell Construction Area
Premium post · March 9, 2023
In the last article, I started a series focused on scripting with PowerShell classes. The eventual goal is to separate the object definition from the code...
Introduction to PowerShell Class Scripting
Premium post · March 7, 2023
I know you’ve heard me go on and on about the importance of working with objects in the PowerShell pipeline. It is this paradigm that puts “Power” in the...
PowerShell ISE Snippets
Premium post · February 24, 2023
In past articles, I’ve written about using snippets in VS Code, although I might revisit this in-depth in a future article. As much as I like VS Code and...
More PowerShell Parameter Planning
Premium post · February 21, 2023
In the last article, I started an exploration of parameter planning. The mechanics of adding a parameter to your PowerShell function is easy. But deciding...
PowerShell Parameter Planning
Premium post · February 16, 2023
Over the last year, I’ve written a lot about PowerShell scripting. I’ve shown you many PowerShell functions and explained their mechanics. Parameters play an...
"Live" PowerShell Tool Making Part 4
Premium post · February 14, 2023
Welcome back to the conclusion of my “live” PowerShell toolmaking project using the Crescendo module. I’ve been building a module around the GitHub command...
Live PowerShell Tool Making Part 3
Premium post · February 9, 2023
We’re back once more to continue building a Crescendo module around the GitHub command line tool gh.exe. You’ve seen how I approach building a PowerShell and...
"Live" PowerShell Tool Making Part 2
Premium post · February 7, 2023
I hope you enjoyed the last article. I know I had a lot of fun writing and coding it. So much so that my brain is racing in a dozen directions over ways to...
Newer archives
Older archives