Title card: OrphanedSid 1.1.0, and What I Check Now

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.

Title card: Half the Time Went to Logs Nobody Read

Half the Time Went to Logs Nobody Read

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.

Title card: One Run, One Log File

One Run, One Log File

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.

Title card: Piping an OU Searched the Entire Domain

Piping an OU Searched the Entire Domain

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.

Title card: Backups That Couldn't Undo the Removal

Backups That Couldn't Undo the Removal

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.

Title card: A Failed Lookup Isn't an Orphaned SID

A Failed Lookup Isn't an Orphaned SID

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.

Title card: Release Day: 1.0.0, Then 1.0.1 an Hour Later

Release Day: 1.0.0, Then 1.0.1 an Hour Later

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.

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: 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: Active Directory Test Data, a Year and Six Providers Later

Active Directory Test Data, a Year and Six Providers Later

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.