Convert power shell script to exe

%3CLINGO-SUB%20id%3D%22lingo-sub-860010%22%20slang%3D%22en-US%22%3EConvert%20power%20shell%20script%20to%20exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860010%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20Powershell%20script%20and%20I%20would%20like%20to%20convert%20it%20to%20en%20exe.%20If%20not%20an%20exe%20file%2C%20I%20will%20need%20a%20way%20to%20run%20it%20as%20an%20administrator.%20This%20script%20is%20used%20to%20install%20the%20VPN%20connection.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-860010%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-860385%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20power%20shell%20script%20to%20exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860385%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410552%22%20target%3D%22_blank%22%3E%40DBarnhart%3C%2FA%3E%26nbsp%3BI%20havent%20tried%20it%2C%20but%20here%20are%20some%20links%20that%20may%20be%20of%20use%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FPS2EXE-GUI-Convert-e7cb69d5%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FPS2EXE-GUI-Convert-e7cb69d5%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.sapien.com%2Fsoftware%2Fpowershell_studio%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sapien.com%2Fsoftware%2Fpowershell_studio%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.powertheshell.com%2Fisesteroids2-2%2Fordering-isesteroids%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttp%3A%2F%2Fwww.powertheshell.com%2Fisesteroids2-2%2Fordering-isesteroids%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-862041%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20power%20shell%20script%20to%20exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-862041%22%20slang%3D%22en-US%22%3EI%20have%20looked%20and%20tried%20the%20first%202%20links%20before%20I%20posted%20on%20here.%20The%20third%20link%20does%20not%20help%20me.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-862333%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20power%20shell%20script%20to%20exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-862333%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20understand%20sorry%3F%26nbsp%3B%20You%20asked%20for%20something%20to%20convert%20a%20script%20to%20an%20exe.%26nbsp%3B%20I%20downloaded%20the%20first%20one%20(PS2EXE-GUI)%20and%20was%20able%20to%20convert%20a%20script%20of%20mine%20to%20an%20exe%20without%20issue%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBTW%20the%20last%20has%20a%20component%20called%20EXE%20Generator%20from%20what%20I%20can%20see.%26nbsp%3B%20Its%20a%20set%20of%20enhancements%20for%20PowerShell%20ISE.%20With%20that%20said%20thats%20just%20from%20a%20search%20on%20their%20site%2C%20i%20havent%20tested%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a Powershell script and I would like to convert it to en exe. If not an exe file, I will need a way to run it as an administrator. This script is used to install the VPN connection.

3 Replies
I have looked and tried the first 2 links before I posted on here. The third link does not help me.

I don't understand sorry?  You asked for something to convert a script to an exe.  I downloaded the first one (PS2EXE-GUI) and was able to convert a script of mine to an exe without issue?

 

BTW the last has a component called EXE Generator from what I can see.  Its a set of enhancements for PowerShell ISE. With that said thats just from a search on their site, i havent tested it.