I didn't downvote you, but consider that I answered the GP's question and solved a problem they are having, and you added some snark.
There is plenty of talk in this space about trading off machine resources for programmer effectiveness, so while your gripe is technically accurate that ship has sailed long long ago.
https://gallery.technet.microsoft.com/PS2EXE-Convert-PowerSh...
Read more on how to use it at https://redmondmag.com/articles/2017/01/27/convert-a-powersh...