Occasionally folks want to be able to create an EXE from PoweShell. PowerShell can’t do this by itself, but this can be done with PowerShell script. Essentially what you can do is create a simple console EXE program that embeds the script as a resource and the EXE, upon loading retrieves the script and throws it at a PowerShell runspace to execute.