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.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pwshc-0.2.1-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file pwshc-0.2.1.tar.gz.
File metadata
- Download URL: pwshc-0.2.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fabc10e63a08f17e4b26c0f114fdcc1f434b404b16e6fe714be670e35b93f6a
|
|
| MD5 |
fed0715fe1e3fe87dcf0705f3634c146
|
|
| BLAKE2b-256 |
e5ce26adba76a2eed9551360583aa9d3f0e19709e20b975db7ef6a5adbc221fa
|
File details
Details for the file pwshc-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pwshc-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e20d72b46fcd3408f02850be620db4ba1af369d22dcc0a631747152fd983431
|
|
| MD5 |
a8650da13d0b878cc5422dd07e671682
|
|
| BLAKE2b-256 |
35a26dde4666ff527045d83dfb696e18549193e3765ccb1fbb77455d3b56737f
|