Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mode upgrade-only-installed to Win_Chocolatey_Manage_Apps_Bulk.ps1 #213

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

derfladi
Copy link
Contributor

Adding mode parameter "upgrade-only-installed" to force chocolatey to upgrade only packages which are installed. Default behaviour of chocolatey would be to install packages which are not found on the target although we only want to upgrade (see https://docs.chocolatey.org/en-us/choco/commands/upgrade)

Adding mode parameter "upgrade-only-installed" to force choco to upgrade only packets which are installed. Default behaviour of choco would be to install packages which are not found on the target although we only want to upgrade.
@CLAassistant
Copy link

CLAassistant commented Feb 22, 2024

CLA assistant check
All committers have signed the CLA.

@derfladi derfladi changed the title Add mode update-only-installed to Win_Chocolatey_Manage_Apps_Bulk.ps1 Add mode upgrade-only-installed to Win_Chocolatey_Manage_Apps_Bulk.ps1 Feb 22, 2024
@silversword411
Copy link
Contributor

Since this is an official script can you update the .json with the new parameter as well.

"syntax": "-PackageName <string>\n[-Hosts <string>]\n[-mode {(install) | upgrade | uninstall | list}]",

Adding new mode to syntax and description
@derfladi
Copy link
Contributor Author

Since this is an official script can you update the .json with the new parameter as well.

done. Sorry - new to the business - have to figure out how it works ;)

@wh1te909 wh1te909 merged commit 436259f into amidaware:main Mar 13, 2024
2 checks passed
@wh1te909
Copy link
Member

merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants