The Script I Wrote for Myself Works Great. Nobody Else Could Touch It Without a Hazmat Suit.
Writing a PowerShell script for your own use and writing one that someone else has to maintain are not the same skill. I learned that distinction the hard way, on a Tuesday afternoon, staring at 200 lines of logic I wrote six months earlier that I could barely read myself.