Behind the PowerShell Pipeline
Archives
Search
Subscribe
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
Premium post · 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
Premium post · 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
Premium post · 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
Premium post · 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
Premium post · 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
Premium post · July 9, 2024
Last time I started exploring how to build a set of Pester tests for code that is written around the .NET Framework. I am using the `Get-OSDetail` function...
Pester Testing .NET with Copilot
Premium post · July 3, 2024
Over the last few weeks, I've been showing how to build PowerShell tools that rely on the .NET Framework in place of calling native PowerShell commands like...
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
Premium post · 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...
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
Premium post · 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...
Native Win32_Directory Scripting
Premium post · 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
Premium post · June 13, 2024
In the [last article](https://buttondown.email/behind-the-powershell-pipeline/archive/powershell-scripting-with-cim_datafile/), I introduced you to the...
PowerShell Scripting with CIM_DataFile
Premium post · June 11, 2024
I've been exploring the world of CIM scripting a lot these days. I thought we'd continue that journey today. I'm sure most of you are familiar with the Win32...
More CimSession Toolmaking
Premium post · June 6, 2024
In the last article, I started demonstrating how you can build your own PowerShell tooling using the CIM .NET classes. While I still recommend using cmdlets...
CimSession PowerShell Scripting
Premium post · June 4, 2024
Last week, I was working on updates to the [PSScriptTools](https://github.com/jdhitsolutions/PSScriptTools) module. I am adding new functions based on `Get-...
PowerShell Pot Luck May 2024
Premium post · May 29, 2024
Here we are again at the end of another month. I hope you learned a few things from the newsletter this month. Don't forget that premium subscribers have...
PowerShell Filters and Functions
Premium post · May 23, 2024
The other day I saw social media post from Adam Bertram about PowerShell filters. Talk about a blast from the past. Back in the early days of PowerShell,...
What Are We Talking About?
Premium post · May 21, 2024
Most of the time PowerShell is pretty clear about what it is doing. The language attempts to be concise but not cryptic. For example, PowerShell commands...
Newer archives
Older archives