studoot / ps2exe Goto Github PK
View Code? Open in Web Editor NEWFork of Marcus Sholtes' fork of Ingo Karstein's script to compile Powershell scripts to Windows executable files
Fork of Marcus Sholtes' fork of Ingo Karstein's script to compile Powershell scripts to Windows executable files
Hi,
i'm not sure if this fits here, but i've the Issue that curl and Invoke-RestMethod doesnt'work anymore when the ps1 script is compiled with ps2exe.
Booth Versions work when i run the PS1 script. Is this known issue or is just my code wrong?
curl.exe --% -X GET http://127.0.0.1:8080?IP=10.0.0.15&Action=11
or
$params = @{
"IP"=$LocalIP;
"Action"="1";}
Invoke-RestMethod -Uri "http://127.0.0.1:8080" -Method POST -Body ($params|ConvertTo-Json) -ContentType "application/json"
Start-Transcript writes that it will start as normally, but no file is written.
I also posted this on technet, I apologize if the duplicity is annoying:
I have a script which runs the msdl library compiled for windows. When I'm downloading a file by running the .ps1 script, the output shows download percentage and updates as it progresses.
However when I run the exe compiled from the .ps1 script, the output is in red, prefaced with "ERROR: ", and keeps printing and scrolling the screen, rather than updating the same line.
Is it possible to manipulate the output type of the script or the specific command so it appears as intended?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.