PS port of winpe_build.cmd

Freshly written, haven't tested yet