2026-10-12 · Week 9

How I cut onboarding from 47 minutes to 5

Extending an onboarding script into a batch automation, and the read-only audit that found paid licenses sitting on deactivated accounts.

This is the week I got to see automation pay off in a number I can point at.

I extended our onboarding PowerShell script to do three new things: run in batch mode for several users at once, take its intake straight from the new-user form, and create a telephony agent from a template as part of setup. Then I used it live to onboard three new hires in one afternoon. The time per user went from forty-seven minutes, to twelve, to five minutes and twenty-two seconds on the final run. Each run created the directory account, synced it to the domain controller, activated the identity provider, assigned groups and licenses, and emailed a summary to HR and the manager.

The script grew from about three thousand lines to over four thousand in three days. That number is not a vanity metric, it is the accumulated fixes, the edge cases I caught by running it against real new hires instead of a test dummy.

The second half of the week was a quieter kind of win. I ran a read-only audit comparing disabled directory accounts against live identity provider users, and found nine deactivated accounts still holding eleven paid licenses, plus one departed user still active in the identity provider with access to forty-two applications. I turned that into a prioritized cleanup plan. A telephony license review found eight seats still assigned to people deactivated elsewhere.

The lesson is two-part. Automate the repeatable thing and measure the before and after, because the number is the story. Then point a read-only audit at the waste nobody can see, because deactivated accounts leaking paid licenses and live sessions is pure silent cost.

Automation that saves time. Audit that saves money. Both run on the same instinct: stop doing by hand what a script can do, and stop trusting that offboarding fully happened just because a ticket closed.

← All writing · Portfolio