PS2EXE
PoshRSJob
PS2EXE | PoshRSJob | |
---|---|---|
22 | 6 | |
1,051 | 528 | |
- | - | |
4.9 | 0.0 | |
5 months ago | over 3 years ago | |
PowerShell | PowerShell | |
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.
PoshRSJob
-
Access module's private member functions inside another Runspace
The module utilizes runspaces using PoshRSJob for some tasks. The scripts that are run inside these runspaces are going to be provided as part of the module. There are considered private and not intended to be altered or run directly.
- Is there a way to make multiple commands run in parallel prior to PowerShell 7's ForEach-Parallel?
- Looking for GUI help with PowerShell
-
How to recursively look for files containing a matching pattern starting in C:? (in parallel if possible)
The easiest part to multithread would be the part where you're searching for your pattern. Which can be done in many different ways. Some multithreading examples are linked below. ThreadJob module PoshRSJob module Runspacepool class
-
Optimize script - script taking too long to run
A for loop is slightly faster than a foreach loop. Even faster would be to iterate through them in parallel. I'd recommend a read through this rather good blog post https://adamtheautomator.com/powershell-multithreading/ Which is comprehensive in the subject. I'd recommend one of these three options in this regard. PoshRSJob (Module) ThreadJob (Module) Runspacepool (Native. Most complex) Good example to build upon https://learn-powershell.net/2018/01/28/dealing-with-runspacepool-variable-scope-creep-in-powershell/
-
Friday PowerShell Discussion: Fixing Automation
On Posh 5.1, you use PoshRSJob.
What are some alternatives?
Win-PS2EXE - Graphical frontend to PS1-to-EXE-compiler PS2EXE.ps1
Invoke-Parallel - Speed up PowerShell with simplified multithreading
unsapien - Python script to extract embedded data from binaries generated by SAPIEN Script Packager
ModuleBuilder - A PowerShell Module to help scripters write, version, sign, package, and publish.
PowerShell - PowerShell for every system!
ip_scan - Scan a list of IPs quickly using multithreading
Pode - Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
WPFBot3000 - Simple domain-specific language for a small subset of WPF, mainly for doing very limited (get the picture?) input forms in PowerShell
PS2EXE-GUI - advanced graphical user interface for ps2exe
choco-runner - Rapid fast multi package installer for chocolatey packages. Uses different threads for mach speed
WebJEA - WebJEA - Secure Self Service Web Forms from PowerShell Scripts
discordrpc - Discord Rich Presence Client written in PowerShell