Problem Scenario
You want to package a standalone .ps1 script as an .exe file. How do you create an executable file that does what a PowerShell script does?
Solution
Install PowerShell Community Extensions. Then download this .ps1 file and use it according to the conventions in the comments, near the top, of the script itself,
The usage instructions are in the code.
…