When you build a PowerShell project from multiple files, the natural structure is clear: enums first, then classes, then functions. Each group has its own place, and as long as dependencies only flow in one direction, that structure works perfectly. But sometimes a function depends on a class, and that class calls the function. There is no longer a clean boundary between the two groups — they need
There's a moment every developer knows. You need to generate a PDF. It looks simple. You've done harder things. Three hours later, you're reading a Stack Overflow thread from 2016 that ends with "works on my machine." This post is about that moment — the actual options, what breaks in each, and where I landed after years of hitting this in production. It uses a stripped-down WebKit engine and conv