I am running PS2EXE to make an executable out of a very basic script. No internal addresses, no calls to internal resources, just a small script to see if a specific IP/FQDN and port are up, that should work on any network. When I go to run the .exe I get this Error message.
I’ve tried making other scripts into .exe, and they also are successful created, but I still get the same error.
I’ve tried saving to other paths, and checking the security settings to make sure it didn’t get created in a way I can’t run it. I originally installed 1.0.10, removed that and installed 1.0.13, that didn’t work.
I tried using the GUI, that didn’t work. I tried creating it so that it would require Admin permissions, but it gets the error before it invokes UAC to ask for admin.
I followed the examples for the command, so it always makes a file, it just doesn’t work
`PS C:JmpShare> Invoke-ps2exe AreYouUp.ps1
PS2EXE-GUI v0.5.0.29 by Ingo Karstein, reworked and GUI support by Markus Scholtes
Reading input file C:JmpShareAreYouUp.ps1
Compiling file…
Output file C:JmpShareAreYouUp.exe written
PS C:JmpShare> `
TechGuyJohn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.