Skip to content

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

Merged
wh1te909 merged 4 commits intoamidaware:mainfrom
derfladi:mode-upgrade-only-installed
Mar 13, 2024
Merged

Add mode upgrade-only-installed to Win_Chocolatey_Manage_Apps_Bulk.ps1#213
wh1te909 merged 4 commits intoamidaware:mainfrom
derfladi:mode-upgrade-only-installed

Conversation

@derfladi
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
@wh1te909
Copy link
Copy Markdown
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