MScholtes/PS2EXE ? reverse-engineered prompt

Reverse engineered prompt

Build me a PowerShell module that turns a .ps1 script into a real Windows .exe, with a simple command like ps2exe or Invoke ps2exe. It should support the usual things people want when packaging a script, like choosing 32 bit or 64 bit, hiding the console for a GUI app, setting an icon, adding version and product info, embedding extra files, and optionally requiring admin rights. I also want a small graphical front end called Win PS2EXE so someone can pick a script and generate an exe without using the command line.

Make it work on Windows with PowerShell 5.1 compatible scripts, and keep the output self contained so the exe runs without needing the original script next to it. If you need to check current docs or details while building, look them up online. Please include sensible help text and a few example scripts so I can test it quickly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab