Articles

PowerShell articles, tutorials, and guides from community experts.

Keith Hill

Make-PS1ExeWrapper

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. Here"™s the script for a feasibility test of doing this very thing.