1
Vote

I'm able to compile an exe but it doesn't do anything

description

I get the loading circle, a quick cmd prompt opens and closes and that's it.

I ran the following:

.\ps2exe.ps1 -inputfile c:\ps\test.ps1 -x86 -runtime30 -noconsole -outpfile c:\ps\test.exe

I also tried

.\ps2exe.ps1 -inputfile c:\ps\test.ps1 -outputfile c:\ps\test.exe -x86 -runtime30 -noconsole

Suggestions? I'm really new at this. I wrote a simple Powershell script to find your external IP and I want to be able to share it with people without them having to figure out how to use powershell. Is what I'm trying to do even possible?

comments