Skip to content

Commit

Permalink
Added pipeline input readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Neocky authored Aug 20, 2021
1 parent 22e0177 commit c8efc2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ Installs [Chocolatey](https://chocolatey.org/) if it is not installed which then
with the param `-removeChocoAfterwards`.
Find all Chocolatey packages here: https://community.chocolatey.org/packages

## Useage
## Usage
##### This script needs to be run as administrator.
#### Example:
Installs `Firefox` and `7Zip` and removes `Chocolatey` afterwards:
```PowerShell
.\choco-runner.ps1 -package firefox,7zip.install -removeChocoAfterwards
```
##### Supports Pipeline input:
```PowerShell
"7zip.install" | .\choco-runner.ps1
```

#### All parameters
```
Expand Down

0 comments on commit c8efc2d

Please sign in to comment.