Skip to content

Koswu/pwshc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Compiler

PyPI

Compile any .ps1 file into a .cmd file so that you can execute it with a double-click in Windows.

Usage

Install this package by pipx:

pipx install pwshc

Compile your .ps1 file:

pwshc hello_world.ps1 -o hello_world.cmd 
# -o is optional

Auto elevate

You can add auto elevate (run as admin) code to your .cmd file:

pwshc hello_world.ps1 --auto-elevate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published