Title card: Fewer Tests, More Coverage

Fewer Tests, More Coverage

OrphanedSid went to the PowerShell Gallery with 2,400 passing tests, and a lot of them couldn’t fail. Rewriting the suite cut it to 1,374 tests, took coverage from 62% to 94%, and turned up twenty issues.

Title card: The First CI Run Failed All Three Jobs

The First CI Run Failed All Three Jobs

OrphanedSid passed every test locally and on a lab domain controller, then failed every job on its first GitHub Actions run. Four runs later it was green, and almost none of the fixes touched the module.

Title card: What 2,400 Tests Couldn't See

What 2,400 Tests Couldn't See

I staged OrphanedSid on a lab domain controller with 2,412 of its 2,414 tests passing. Discovery found nothing, every restore failed, and every removal logged an error while it succeeded.

Title card: Moving 2,400 Tests From Pester 3.4 to Pester 6

Moving 2,400 Tests From Pester 3.4 to Pester 6

I wrote OrphanedSid’s tests for the Pester 3.4 in Windows. Moving them to Pester 6 took a scripted rewrite of every file, and the stubs standing in for Active Directory were wrong on both versions.

Title card: Why Find-UnknownSID Left My Monorepo

Why Find-UnknownSID Left My Monorepo

I moved Find-UnknownSID out of my scripts repo so it could have releases of its own. The audit before the move found docs for a tool that never existed, and the loader hit case-insensitive names.

Title card: OrphanedSid: Find, Remove, Restore

OrphanedSid: Find, Remove, Restore

I rebuilt my old Find-UnknownSID script as OrphanedSid, a PowerShell Gallery module with three commands, then ran the published 1.0.1 against a lab domain from discovery through removal and back.

Title card: PowerToys: A Tour, and Taking Back the Copilot Key

PowerToys: A Tour, and Taking Back the Copilot Key

My Surface Pro 11 put a Copilot key where Right Ctrl belongs, so I made it Right Ctrl with Keyboard Manager. That grew into a PowerToys tour, plus why Windows’ new Right control option did nothing here.

Title card: MarkX: Query Markdown Like XML in PowerShell

MarkX: Query Markdown Like XML in PowerShell

I saw MarkX 0.1.4 announced with Hugo support and pointed it at this blog, where Hugo already renders every post. It had nothing to add. It fits elsewhere: tables as data, link audits, objects as tables.

Title card: Your Function Accepts an Array. Piping One Is Different

Your Function Accepts an Array. Piping One Is Different

I shipped CaOutcome with 204 passing tests and a README example that gave thirteen wrong answers. Every test passed the collection by parameter. Maester pipes it, and PowerShell unrolls a piped array.

Title card: Find memberOf Rules Before November 3

Find memberOf Rules Before November 3

I found MC1448379 while hunting for my next post: on November 3, every memberOf group, administrative unit and auto-assignment policy stops updating. Microsoft says grep for the word. I wrote a parser.