As someone who has mucked about inside the PowerShell code a bunch, it’s a mess. It looks like clean OO design on the surface, but once you dig in, you find it’s actually a fairly tightly-coupled tangle of spaghetti. It gets the job done, I guess, but it’s not enjoyable to hack on.
Notice how none of these replies are “AI assistant”?