• PowerShell 7.4 introduces a subtle but impactful change: the default encoding for HTTP requests is now UTF-8 instead of ASCII. This shift can cause unexpected issues when working with the Microsoft Graph API, particularly during .intunewin file commits in Intune. In this post, I explain the root cause, share workarounds, and offer practical solutions to keep your automation workflows running smoothly.

  • Tired of manually downloading LEGO building instructions? This PowerShell function automates the process by fetching the instruction page, filtering valid PDF links, and saving them neatly into a folder per set. Whether you’re organizing your collection or just love scripting, this tool adds efficiency and fun to your LEGO hobby.

  • PowerShell Remoting lets you run commands, gather inventory, and automate fixes across dozens—or hundreds—of systems from one console. In this guide you’ll enable remoting safely, run one‑off commands with Invoke-Command, build persistent sessions for faster workflows, push scripts, move files, and troubleshoot connectivity like a pro. If you manage Windows servers or mixed environments, mastering these patterns will cut tedious RDP hops, standardize execution, and boost reliability—while keeping security (WinRM, auth, firewall, encryption) front and…

  • Discover how recursive functions work in PowerShell and why they’re perfect for navigating complex, nested data structures. Inspired by Boot.dev’s RPG-style learning, this post walks through a practical example using JSON and hashtables to build file paths recursively—ideal for backend developers looking to level up their scripting skills.

  • When splitting a list of users into batches, rounding errors can lead to unexpected results. In this post, I explore common mistakes with [math]::Round(), explain rounding strategies, and show how methods like Ceiling() and Floor() can help you get accurate batch counts in PowerShell.

  • Unlock the full potential of PowerShell 7.x while still running those essential legacy scripts! Discover how to seamlessly execute PowerShell 5.1 modules like ‘VirtualMachineManager’ within your modern console. Follow our quick guide to bridge the gap between versions effortlessly.

  • Strict mode is a concept found in various programming languages, designed to enforce stricter coding rules and catch common bugs early. While PowerShell doesn’t have a strict mode like JavaScript or TypeScript, it does offer a feature called Set-StrictMode that serves a similar purpose.

  • In our previous article, we explored the fundamentals of PowerShell modules – what they are, why to use them, and how to create basic modules. Now, let’s dive deeper into advanced module development techniques, best practices for keeping your code clean and structured, and professional-grade module development workflows. This continuation will help you transform from a module user to a module architect, capable of building robust, maintainable, and professional PowerShell modules.

  • Discover how PowerShell 7’s null-coalescing operators (?? and ??=) can simplify your scripts by handling $null values more cleanly and safely. This guide covers basic usage and tips to make your code more readable and reliable.

  • In this follow-up to my previous post on building GUIs with PowerShell, I walk through a practical example: a GUI-based log viewer. This tool allows users to filter and open log files without needing PowerShell knowledge—perfect for sharing with colleagues. I explain each step of the script, from setting up the form and controls to handling events and filtering logs. The code is available on GitHub and is intentionally left open for customization and learning.