PS2EXE
PowerShell
PS2EXE | PowerShell | |
---|---|---|
22 | 397 | |
1,051 | 43,400 | |
- | 0.6% | |
4.9 | 9.6 | |
5 months ago | 1 day ago | |
PowerShell | C# | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PS2EXE
-
Powershell from a batch file, with pipes/quotes
If you have powershell scripts for your Users you can also try ps2exe. https://github.com/MScholtes/PS2EXE
-
How to create a single exe file to run/select multiple powershell scripts
PS2EXE -- This is what I've used in the past to create a exe from a PS script. Would suggest reading the readme on Github to understand the possible behavior changes while using it.
-
Is there a way to securely pass a password within a Configuration Item script?
Something like using this: https://github.com/MScholtes/PS2EXE Although I'm sure there are other utilities out there that do something similar. It's not 100% absolutely secure, because I'm pretty sure that .exe can be de-compiled and read, but at least the password wouldn't be in a .log file (if passed as a parameter), nor clearly in a downloaded {random guid}.ps1 in the CM folder.
-
Launching an app with a script
PS2EXE
-
Powershell script that will open and minimize teams window every 9 minutes to stay green. Alternative to a mouse jiggler.
To run with PowerShell save this to a text file with a .ps1 extension. Then right click and run with PowerShell. Orrrr...how I did it is I converted the .ps1 to .exe using ps2exe here https://github.com/MScholtes/PS2EXE/blob/master/README.md. Then just run the exe and just a black terminal screen shows up blank and script runs in the background. To stop the script just close out the black terminal screen. The exe way is better if someone monitors your screen from time to time because it doesn't show what's really going on.
- Kleine in-house Tools mit GUI: Wie erstellen? (Sprache/Framework/Tools)
-
How do you guys create executables from your scripts?
As for how: Been using ps2exe for small app for a client. It's ok, but that's when you already got a script and wanna pack it into exe: https://github.com/MScholtes/PS2EXE
- Is it possible to lock script from being edited?
-
Get-Item - PowerShell Doen't Work in EXE file
Right from the README.MD...
-
WTF is happening here?? I am not using pc at all!
Yes and no. Maybe this theoretical miner would stop mining to drop GPU usage but who knows what else it's doing or data it's exfiltrating. I at one point (for fun) wrote a key-logger entirely in PowerShell and was wrapped as an executable and ran under the name "Windows Software Update" or something like that... it was a long time ago. The process itself would still be there but malware can be pretty good about disguising itself as other things. Keep in mind what I said about looking for the taskmgr process is probably the most basic way to do this. If someone is writing a legitimate sophisticated malware they're probably not writing it in as a simple .NET FX console app and you're better off just nuking your system and starting fresh.
PowerShell
-
PowerBI: déployer une passerelle sur AWS pour $0.12/j
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
-
Sudo for Windows
This smells like when PowerShell aliased curl and wget to a completely different command, with incompatible arguments.
https://github.com/PowerShell/PowerShell/pull/1901
-
Gooey: Turn almost any Python command line program into a full GUI application
PowerShell is available on macOS and Linux as well (source on Github: https://github.com/PowerShell/PowerShell). It may not be as well-integrated with things like system services management, but the language still works well. You can still use all the command line tools you're used to on Linux, of course.
nushell does look interesting, though the lack of a .deb repository does put it pretty low on my to-do list.
-
3 lines of code don't understand the results.
Issue #7940 discusses potential improvements to array slicing.
- Task Scheduler -windowstyle hidden / minimized
-
Just messing around with arrays and efficiency in PS, thought I'd share
Note: This can be problematic as it prevents upstream commands from running their end {} block. See here. The new clean {} block introduced in PowerShell v7.3 does not suffer from this issue.
-
Jaq – A jq clone focused on correctness, speed, and simplicity
Can you give an example of something that PS can do that is built-in for text processing, instead of a proprietary symbolic query language?
[1] https://github.com/PowerShell/PowerShell
-
The bash book to rule them all
https://github.com/PowerShell/PowerShell/blob/master/LICENSE... is the MIT license. (Microsoft supplies debs directly which may reduce the motivation for Debian to do so.)
Oh, heh, also https://github.com/PowerShell/PowerShell/blob/master/docs/bu... the build script is written in PowerShell, so there's a bootstrapping problem :-) (Debian has solved those before of course, but with community sentiment like the above maybe noone is motivated to bother.)
- Did Reddit just denylist all IPs?
-
Register-ArgumentCompleter: how to fall back to file completion when completing a flag such as "--foo="
According to https://github.com/PowerShell/PowerShell/issues/19628, the default behaviour is invoked whenever the completion script returns no output. To attempt to do so, I tried exiting the script via returning an empty string, or using the return keyword to exit the script completely, unfortunately with no avail. Is there a technique to achieve what I want, and is there any documentation about it other than the official one? Thank you in advance.
What are some alternatives?
Win-PS2EXE - Graphical frontend to PS1-to-EXE-compiler PS2EXE.ps1
nushell - A new type of shell
unsapien - Python script to extract embedded data from binaries generated by SAPIEN Script Packager
winpty - A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.
Pode - Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
PoshRSJob - Provides an alternative to PSjobs with greater performance and less overhead to run commands in the background, freeing up the console and allowing throttling on the jobs.
WFinfo - :computer: A fissure Companion App for Warframe
PS2EXE-GUI - advanced graphical user interface for ps2exe
PowerToys - Windows system utilities to maximize productivity
WebJEA - WebJEA - Secure Self Service Web Forms from PowerShell Scripts
ShellCheck - ShellCheck, a static analysis tool for shell scripts