windoze scriptz

Here's generate. It's untested. I'll sort that and verify.ps1 later.