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: 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: Nothing Alerted When My WAN Dropped to 100 Mbps

Nothing Alerted When My WAN Dropped to 100 Mbps

On 10 September my UDM’s WAN port renegotiated to 100 Mbps and stayed up. No alert fired, and the house sat at 178 ms for hours. I traced it to a cable and wrote a poller to catch it next time.

Title card: Gating Intune Scripts in a Pull Request

Gating Intune Scripts in a Pull Request

My uptime detection returns 1 at script scope, so it exits 0, and its runtime test passes. The static check fails it on line 5. IntuneScriptLab’s gate and Pester assertions put both in a pull request.

Title card: Intune Rules Inside PSScriptAnalyzer

Intune Rules Inside PSScriptAnalyzer

I run Invoke-ScriptAnalyzer -Severity Error with IntuneScriptLab’s rules loaded, and every Intune record disappears, Errors included. The wrapper puts those rules in PSScriptAnalyzer’s own pass.

Title card: A Role With Nothing but a Name: Seeding OneLogin

A Role With Nothing but a Name: Seeding OneLogin

OneLogin gives a role, a group and a policy nothing but a name, and a Smart Hook not even that. Teardown still has to delete only what my seed made, so each object is proved by what it holds.

Title card: A Directory Full of Question Marks: Seeding PingOne

A Directory Full of Question Marks: Seeding PingOne

The first PingOne seed I ran from Windows PowerShell 5.1 turned every accented and Han name into question marks. The fault was in how 5.1 encodes a request body, and all six providers in the module had it.

Title card: Eight Okta Users, and Everything That Changed Around Them

Eight Okta Users, and Everything That Changed Around Them

I opened the Okta provider expecting to write the ten-user post again with better numbers. The eight users are the same eight users. Nearly everything around them has been replaced.

Title card: Adding a FreeIPA Replica When the Only Spare Host Runs Ubuntu

Adding a FreeIPA Replica When the Only Spare Host Runs Ubuntu

Every login in the house resolved against one thin client, and the only spare machine ran Ubuntu. The second server became a container, and a bad image tag left me a replica that looked healthy.