PowerShell Module Manifest: Build a Publishable Module
A well-crafted module manifest makes the difference between a private script collection and a PSGallery-ready module. This guide covers every manifest field that matters for
Commands Tips
A well-crafted module manifest makes the difference between a private script collection and a PSGallery-ready module. This guide covers every manifest field that matters for
Splatting is more powerful than most scripts use it. Dynamic splatting from PSBoundParameters, conditional parameter addition, and splat passthrough patterns transform complex
Pester v5 changed the game with strict test isolation, BeforeAll scoping, and improved mock behavior. This guide walks through testing a real admin function from scratch.
Choosing the right verb for a PowerShell function is more than style. It affects module compatibility, discoverability, and tool integration. Here is everything you need to know.
PSScriptAnalyzer is the de facto linter for PowerShell, and understanding powershell psscriptanalyzer common rule fixes is essential for anyone shipping scripts to production or publishing modules to the Gallery. Left…
ValidateScript runs arbitrary code to validate function parameters. Learn to validate file paths, IP addresses, and custom business rules.
Pester is PowerShell’s unit testing framework. Learn to write and run tests for your functions with Describe, It, and Should assertions.
PowerShell 5+ supports class definitions for OOP-style scripting. Learn to create classes with properties, methods, constructors, and inheritance.
Code-signed PowerShell scripts run under AllSigned execution policy. Learn to sign with a certificate, verify signatures, and set up a signing workflow.
Managing credentials safely is critical for automation. Learn to create PSCredential objects, save encrypted passwords, and reuse them across scripts.