Behind the PowerShell Pipeline
Subscribe
RSS
Archive
Putting It Together in PowerShell
December 10, 2024
It should come as no surprise that we often use PowerShell to build things, and I mean more than custom object output. We often need to build strings,...
Learning How to Learn
December 6, 2024
Photo by Kaushal Moradiya: https://www.pexels.com I have always valued the importance of learning how to learn or how to teach yourself. This concept is much...
Super Size Your Snippets
December 3, 2024
Today I want to return to a topic I've covered, at least briefly, in the past and that is taking advantage of snippets in Visual Studio Code. The PowerShell...
November 2024 PowerShell Potluck
November 29, 2024
I'm back with another PowerShell Potluck! This month, I have a variety of topics to share with you. I have a new module for working with Bluesky, a new...
October 2024 Scripting Challenge Solution
November 26, 2024
Last month I left you with a PowerShell scripting challenge. I hope you take the time to at least begin working on a solution. I believe that the best way to...
Dynamic Parameter Validation - Part 2
November 22, 2024
Last time I demonstrated a technique you can use in PowerShell 7 as an alternative to the static [ValidateSet()] parameter validation attribute. There is an...
Dynamic Parameter Validation
November 19, 2024
I want to continue exploring parameter validation with a new technique introduced in PowerShell 7. If you are still on Windows PowerShell, don't run away....
PowerShell Parameter Validation Part 2
November 15, 2024
Let's continue exploring the world of parameter validation in your PowerShell scripts and functions. As I mentioned in the previous article, you can't make...
PowerShell Parameter Validation
November 12, 2024
I've mentioned before that I'm an old-school IT Pro and scripter. I used to worry about my scripts failing halfway through because of bad data or values....
Tool Time - WiFi Info
November 8, 2024
I want to continue the introduction of a new set of PowerShell tools I've been working on. Today's tool was developed to solve a problem I had, although the...
A Registry Scripting Challenge Solution
November 5, 2024
In the September 2024 round-up, I gave you a PowerShell scripting challenge. The best way to learn PowerShell and improve your skills is to do it. The...
October 2024 PowerShell Potluck
October 30, 2024
Here we are once again at the end of another month. I hope the content this month has been helpful and informative. If you are not a premium subscriber, I...
New Tools - File and Folder Archiver
October 25, 2024
Let's continue with recent additions to my PowerShell toolbox. Another recurring task is that I often want to create a ZIP file of selected files from a...
Tool Time - Clipboard History
October 22, 2024
A reminder that all previous articles can be found in the online archive. Premium subscribers have full access. As I've worked with PowerShell over the...
Creating a GitHub Repository Tool - Part 4
October 18, 2024
I've come a long way with the project and the end is in sight. Hopefully, we can wrap up building my GitHub repository tool today. At this point, I have a...
Creating a GitHub Repository Tool - Part 3
$ · October 15, 2024
We've come pretty far in building a PowerShell tool around a command-line utility. The fact that gh.exe can output JSON makes all the difference in the...
Creating a GitHub Repository Tool - Part 2
$ · October 11, 2024
I've been sharing my experiences and work process in building a PowerShell tool to manage my GitHub repositories. Instead of fussing with the GitHub API,...
Creating a GitHub Repository Tool
$ · October 8, 2024
Not that long ago, I saw something on social media that got me thinking, and as usually happens, one thing leads to another and before I knew it I was heads...
Automatic Traditional Modules
$ · October 4, 2024
In the last email, I demonstrated how to use the New-Module command to create a dynamic module. The result was a temporary module that existed only in...
Automatic PowerShell Modules
$ · October 1, 2024
In a previous email I demonstrated PowerShell code that generated custom PowerShell functions. This is a clever way to create commands with a very specific...
PowerShell Potluck - September 2024
September 27, 2024
Welcome back to another PowerShell Potluck, and you didn't have to bring a thing, other than a little curiosity and a willingness to try new things. Here's a...
Creating a PowerShell Code Factory
$ · September 24, 2024
I am always on the look out for ways to get more done faster and with less effort. Especially when it comes to writing PowerShell code. I have lots of VSCode...
What Is That Thing Called?
$ · September 20, 2024
Recently, I was looking at a friend's new module on GitHub. He is by no means a beginner, but hasn't written many modules. He was creating a module based on...
Master Your Environment Part 3
$ · September 17, 2024
Note: I am aware that code samples are not respecting HTML tags and rendering some characters with their HTML codes. Buttondown is working on this issue. I...
Master Your Environment Variables
$ · September 13, 2024
In the previous email, we started looking at ways to use the [System.Environment] .NET class. Even though the ENV: PSDrive exposes some of the class's...
Master Your Environment
$ · September 10, 2024
PowerShell, as its name implies, is a shell. It is an interactive command-line interface to the underlying operating system. PowerShell is designed so that...
Creating Pandoc PowerShell Tools Part 2
$ · September 6, 2024
I've been sharing my experiences in building Pandoc-based PowerShell tools. My ultimate goal is to create a tool that will convert a Markdown README file...
Creating Pandoc PowerShell Tools
$ · September 4, 2024
One of the things I enjoy about creating a PowerShell-based tool is discovery. When writing code, I will realize that it would be helpful if I could use a...
August 2024 PowerShell Potluck
August 30, 2024
Here we are again at the end of another month. I hope you found this month's content helpful. I am always open to suggestions on topics that you'd like to...
Pandoc, PDFs, and PowerShell
$ · August 27, 2024
I hope that you've been intrigued by the possibilities of Pandoc. It's a powerful tool that can help you convert documents between a wide variety of formats....
More Pandoc and PowerShell Possibilities
$ · August 23, 2024
Let's pick up where we left off, exploring how to use the pandoc utility to convert markdown files to HTML. In the previous post, we looked at the basics of...
Document Tricks with Pandoc and PowerShell
$ · August 20, 2024
Today's content is a little different. I'm not going to focus on a specific PowerShell topic, but rather something I think of as "PowerShell adjacent." You...
Accelerating Your PowerShell Help Documentation
$ · August 16, 2024
If you are creating PowerShell modules, I hope you are creating external help documentation. The easiest way to do this is with the platyPS module which you...
Creating PowerShell Custom Formatting
$ · August 13, 2024
We all know the importance of objects in PowerShell. PowerShell works with objects and lets you manipulate them in the pipeline. At the end of the process,...
Location Tricks with PowerShell
$ · August 9, 2024
I'm sure it comes as no surprise to you that I spend a lot of time at a PowerShell prompt. I am always looking for ways to minimize the amount of typing I...
Creating ANSI Progress Bars in PowerShell
$ · August 7, 2024
Let's wrap up our exploration of ANSI alternatives and look at one last item. In the previous article in this series, I shared some code you could use to...
PowerShell Potluck: July 2024 Round Up
July 31, 2024
Once again, the end of another month has snuck up on me. For those of you in the Northern Hemisphere, I hope you're enjoying the summer weather and finding...
More PowerShell Scripting Candy
$ · July 25, 2024
I hope the recent articles on embellishing your PowerShell code have been interesting and inspiring. Running code in the console doesn't have to be boring...
More ANSI Alternatives
$ · July 23, 2024
I've been demonstrating how to use ANSI to display messages in the console while your PowerShell code is executing. What I've shown you should be considered...
Verbose Message ANSI Alternatives
$ · July 18, 2024
If you've been following my work for a while, you know I am a big fan of using Write-Verbose. I find the verbose output very helpful when I am writing a...
Pester Testing with InModuleScope
$ · July 16, 2024
In a recent article, we looked at writing a Pester test that required mocking private functions. These are functions intended to be used within your code,...
Pester Testing .NET with Copilot Part 3
$ · July 11, 2024
I've been sharing my experiences writing Pester tests for a PowerShell function that uses the .NET Framework instead of invoking native cmdlets. The process...
More Pester Testing .NET with Copilot
$ · July 9, 2024
Last time, I started exploring how to build a set of Pester tests for code written around the .NET Framework. I am using the Get-OSDetail function that uses...
Pester Testing .NET with Copilot
$ · July 3, 2024
Pester Testing .NET with Copilot Over the last few weeks, I've been showing how to build PowerShell tools that rely on the .NET Framework instead of calling...
PowerShell Potluck: June 2024
June 27, 2024
Time to wrap up another month of PowerShell fun. In North America, we're heading into the the middle of summer. My part of the country promises to be an oven...
Creating PSSession-Based PowerShell Tools
$ · June 25, 2024
Let's continue our exploration of creating and working with PSSession objects built from scratch. While I would normally use New-PSSession, using the .NET...
Scheduled Goof
June 18, 2024
It looks like I goofed with this week's posts and you got everything I had planned for this week today. Sorry about that. I double-checked and next week...
Native PSSession PowerShell Scripting
$ · June 18, 2024
The exploration of CIM and using the CimSession .NET class in PowerShell scripting got me thinking about another remoting option, PSSession. This could be...
Native Win32_Directory Scripting
$ · June 18, 2024
I hope you've had an opportunity to try the code examples from the last few articles. I'm not implying that using CIM classes is necessarily the the best way...
Win32_Directory Scripting
$ · June 13, 2024
In the last article, I introduced you to the CIM_DataFile CIM class. I demonstrated how you might use it as an alternative to the file system. You can use a...
Older archives
GitHub
Bluesky
LinkedIn
Mastodon
About Jeff