GithubHelp home page GithubHelp logo

sf-walsh / ps2exe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from interference-security/ps2exe

0.0 0.0 0.0 20 KB

https://gallery.technet.microsoft.com/PS2EXE-Convert-PowerShell-9e4e07f1

Batchfile 0.69% PowerShell 99.31%

ps2exe's Introduction

PS2EXE

https://gallery.technet.microsoft.com/PS2EXE-Convert-PowerShell-9e4e07f1

##Usage:

Call the script with this parameters:

-inputFile : PowerShell script file

-outputFile : file name (with path) for the destination EXE file

-debug (switch) : generate debug info in the destination EXE file. The dynamically generated .CS file will stored beside the output EXE file. Furthermore a .PDB file will be generated for the EXE file

-verbose (switch) : shows also verbose informations โ€“ if any.

-x86 (switch) : compile EXE to run as 32 bit application

-x64 (switch) : compile EXE to run as 64 bit application

-runtime20 (switch) : force running the EXE in PowerShell 2.0 using .NET 2.0

-runtime30 (switch) : force running the EXE in PowerShell 3.0 using .NET 4.0

-lcid : specify language ID for threads

-sta : run PowerShell environment in Single Thread Apartment mode

-mta : run PowerShell environment in Multithread Apartment mode

-noconsole : compile PS script as Windows application

##Command

.\ps2exe.ps1 -inputFile input_filename.ps1 output_filename.exe

ps2exe's People

Contributors

interference-security avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.