
OrphanedSid 1.1.0, and What I Check Now
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 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.

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.

OrphanedSid’s first release failed before it reached the PowerShell Gallery, and the retry went up fine. Fifteen minutes later I found it couldn’t restore a single object, and 1.0.1 came within the hour.

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.

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.

In August 2025 I published a module that filled a lab domain and tore it down again. Its three commands still run, and almost nothing underneath them survived the move into TestEnvironment.