• Stars
    star
    281
  • Rank 147,023 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Graphical frontend to PS1-to-EXE-compiler PS2EXE.ps1

Win-PS2EXE

Graphical front end to PS1-to-EXE-compiler PS2EXE.ps1

Author: Markus Scholtes

Version: 1.0.1.1

Date: 2021-04-10

With PS2EXE.ps1 originally created by Ingo Karstein you can compile Powershell scripts to real Windows executables. Win-PS2EXE is a small graphical front end to the script.

Features and restrictions:

  • Win-PS2EXE does not support all parameters of PS2EXE.ps1
  • WPF application that compiles without Visual Studio or MSBuild on every Windows with .Net 3.5x or .Net 4.x
  • only one source file
  • drag'n'drop for file names
  • separate .Net 4.x and .Net 3.5x versions (since .Net 3.5x do not allow uncompiled event handlers in XAML)

Screenshot:

Screenshot

How to compile:

Run Compile.bat (in a .Net 3.5x environment use the version in folder DotNet3.5).

How to use:

Ensure PS2EXE.ps1 is in the same directory as Win-PS2EXE.exe.

Start Win-PS2EXE.exe and fill in the desired fields (only Source file is mandatory).

Click Compile, a powershell window opens and your powershell script will be compiled to an executable.

Changes:

1.0.1.1: target folder dialog added (code by Josip Medved, https://www.medo64.com/2011/12/openfolderdialog/)

1.0.0.3: file fields no longer run out

1.0.0.2: -noConfigFile is default now

More Repositories

1

PS2EXE

Module to compile powershell scripts to executables
PowerShell
1,170
star
2

VirtualDesktop

C# command line tool to manage virtual desktops in Windows 10
C#
570
star
3

TechNet-Gallery

Copies of my 'Script Center' and 'Technet Gallery' publications
PowerShell
351
star
4

PSVirtualDesktop

VirtualDesktop is a Powershell module that provides commandlets to manage virtual desktops of Windows 10.
PowerShell
292
star
5

WebServer

Powershell WebServer is a Powershell module that starts a webserver (without the need for IIS)
PowerShell
82
star
6

SysAdminsFriends

SysAdminsFriends is a Powershell module that provides some tools that are useful for system administrators.
PowerShell
39
star
7

Firewall-Manager

Firewall-Manager is a powershell module to manage firewall rules
PowerShell
24
star
8

Priority

C++ command line utility to query or set CPU, memory and I/O priority (Windows)
C++
13
star
9

Suspend

C++ command line tool to suspend / resume processes (Windows)
C++
12
star
10

SendKeysGUI

Keyboard macro tool, sends clipboard, text, file content or command output as keystrokes
C#
8
star
11

ThreadInfo

C++ command line tool to get process and thread information with NtQuerySystemInformation (Windows)
C++
8
star
12

CredentialLocker

CredentialLocker is a powershell module that provides commandlets to manage credentials in the password vault.
PowerShell
8
star
13

GetAllEvents

C# program to query all events from all event logs (about 1200 in Windows 10) and display in GridView or export to text or csv file
C#
6
star
14

Windows-Service

Sample implementations of a Windows Service including process execution, powershell execution, Named Pipes, event log aggregation...
C#
6
star