Title card: WMIC Is Gone. Here Is What To Use Instead

WMIC Is Gone. Here Is What To Use Instead

A utility script died on a fresh Windows 11 box. wmic bios get serialnumber, gone, and the DISM command that puts it back stops working this month. The one-liners map onto Get-CimInstance cleanly. The for /f blocks wrapped around them do not.

Title card: Raising the Copilot Standards to Pester 6.1

Raising the Copilot Standards to Pester 6.1

Pester 6.1 shipped, so I checked my Copilot standards against an install instead of the release notes. Four claims no longer held. Two aren’t in the announcement at all, and one example from the release notes doesn’t actually run.

Title card: Seeding an Okta Test Tenant When You Only Get Ten Users

Seeding an Okta Test Tenant When You Only Get Ten Users

A fresh Okta trial org is empty. The license caps you at ten active users, so I built a lab where 8 awkward users plus everything Okta doesn’t cap does the work. Seeds in 2 min, tears down safely.

Title card: Keeping Copilot Instructions in Sync Across Repositories

Keeping Copilot Instructions in Sync Across Repositories

Updated my PowerShell Copilot Standards repo and realized every other project was still on the old instruction copies. So I built a GitHub Actions workflow that mirrors them weekly and opens a PR when they drift.

Title card: Beyond Basic Secrets: Building a Universal PowerShell Secret Management Module

Beyond Basic Secrets: Building a Universal PowerShell Secret Management Module

One PowerShell module that talks to SecretStore, Azure Key Vault, AWS Secrets Manager, Bitwarden and CredMan through the same commands, so hybrid environments stop needing five different scripts.

Title card: From Plain Text Passwords to PowerShell SecretStore: Securing Your AD Test Environment

From Plain Text Passwords to PowerShell SecretStore: Securing Your AD Test Environment

My AD test environment module still had service account passwords sitting in plain text. This adds PowerShell SecretStore for setup, storage and retrieval, without making the lab harder to spin up.

Title card: Active Directory Test Data That Doesn't Suck

Active Directory Test Data That Doesn't Suck

A PowerShell module that fills a lab domain with a thousand-plus realistic users, groups and OUs in about a minute, and tears them back down cleanly when you are done.

Title card: Testing Security Functions with Pester: A Real-World Example

Testing Security Functions with Pester: A Real-World Example

A real path traversal validator, tested end to end with Pester. The test patterns, the edge cases that actually matter, and coverage that holds up once the function ships.

Title card: Blue/Green Deployment for Patch Management

Blue/Green Deployment for Patch Management

I went looking for a real use case for PowerShell classes and found one: blue/green patch deployment, with zero downtime and a rollback that takes effect immediately.

Title card: Transforming PowerShell Development with GitHub Copilot: Enterprise Standards and Custom Instructions

Transforming PowerShell Development with GitHub Copilot: Enterprise Standards and Custom Instructions

Copilot writes whatever PowerShell it feels like unless you tell it otherwise. Encoding your team’s standards as custom instructions so generated code matches your style, error handling and testing rules.