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
Release files for pwshc 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pwshc-0.2.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pwshc-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / pwshc-0.2.1.tar.gz
| Download URL | pwshc-0.2.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fabc10e63a08f17e4b26c0f114fdcc1f434b404b16e6fe714be670e35b93f6a
|
|
BLAKE2b-256 checksum How to use checksums |
e5ce26adba76a2eed9551360583aa9d3f0e19709e20b975db7ef6a5adbc221fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.7 Windows/10
|
Release files / pwshc-0.2.1-py3-none-any.whl
| Download URL | pwshc-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e20d72b46fcd3408f02850be620db4ba1af369d22dcc0a631747152fd983431
|
|
BLAKE2b-256 checksum How to use checksums |
35a26dde4666ff527045d83dfb696e18549193e3765ccb1fbb77455d3b56737f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.7 Windows/10
|