compile any powershell .ps1 script to a .cmd file
Project description
PowerShell Compiler
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pwshc-0.2.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
pwshc-0.2.0-py3-none-any.whl
(3.6 kB
view hashes)