Pop out Programs
Creates an application to run a PowerShell command. The application will wrap any cmdlet and any function stored in a module and create a .exe The .exe will support all of the same parameters of the core cmdlet. You can use this to allow users to simply double click a script, rather than making a user import a module manually. All of the text output from the EXE will be shown when the EXE is complete. Streaming is not yet supported.

The script block that forms the core of the program

If set, this will keep the Program Debug Database (PDB file) generated by Add-Type. Otherwise, this value will be thrown away

If this is set, the command will be a windows application. It will no longer display help or errors, but PowerShell can continue while it is running

Functions to embed