Help making a .ps1 to .exe

http://pastebin.com/raw/BsJDrkLm

I have this code that make a GUI. I am trying to package it up as an executable, I used ps2exe and it is not working. I hoping some one can point me in the direction I need to be heading! Thanks in advance

There are some commercial products that do this:
http://www.powertheshell.com/converting-scripts-to-exes/
https://www.sapien.com/software/powershell_studio

Personally I’ve never had the need to do this, so I’m curious which error message you get?

When I packaged with ps2exe, I get errors in cmd prompt and the form doens’t open. The errors go by before I can see what they are. It is red text.

awesome ISE Steroids worked great. Thanks for pointing me in the direction !!!

Great! Don’t forget to buy this great piece of software. You’ll make Tobias a happy man, and he can improve the software more. :slight_smile: