
PSFramework Log Files Without Losing the Streams
When I tested the PSFramework section of my PowerShell standards, it passed a level the cmdlet rejects and logged a correlation ID the file never wrote. The new powershell-logging skill replaces it.

When I tested the PSFramework section of my PowerShell standards, it passed a level the cmdlet rejects and logged a correlation ID the file never wrote. The new powershell-logging skill replaces it.

PowerShell 7.7 shipped on November 10, and I kept my standards for AI coding agents on 7.6. Then I ran every claim the rules make about 7.7 on 7.7.0, since code written for 7.6 runs there too.

My PowerShell standards for AI agents were fourteen hand-written files that repeated and contradicted each other. In 2.0 every rule is written once with an ID, and each agent’s files are generated from it.

I shipped OrphanedSid 1.1.0 three days after 1.0.1, with 54 of the 55 issues filed in between closed, and turned what went wrong along the way into the checks I run before tagging a module.

I timed OrphanedSid at about a second per object on my lab DC. Half went to Debug log lines it formatted and threw away, and much of the rest to turning SIDs into names and back.

In 2025 I wrote a whole Pester post about Test-PathTraversal. No OrphanedSid command ever called it, it had two bugs, and 1.1.0 deleted it with 42 other functions nothing reached.

I built OrphanedSid’s log for audits, then reran 1.0.1 on my lab DC. A change number missed 10 of 36 lines, a config file split one run across two files, and a reused log kept one night.

I piped one OU into Find-OrphanedSid, the way the README showed. OrphanedSid 1.0.x dropped the OU and searched the whole domain, and in my lab it still came back with the right two orphans.

I gave a lab group two orphaned SIDs and removed both. OrphanedSid 1.0.x backed the group up once per SID, so restore brought back only one, and a long DN on Windows PowerShell 5.1 got no backup at all.

The night 1.0.1 shipped, I filed a bug: OrphanedSid called a SID orphaned whenever its lookups failed, so a timed-out DC could put live access on the removal list. 1.1.0 added a third answer, Unverified.