amidaware / community-scripts

A curated list of powershell, python, and batch scripts for use in TacticalRMM or anywhere!
MIT License
122 stars 84 forks source link

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

Closed derfladi closed 8 months ago

derfladi commented 9 months ago

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)

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

silversword411 commented 9 months ago

Since this is an official script can you update the .json with the new parameter as well. https://github.com/amidaware/community-scripts/blob/809de6f710fda8106b983ff9a7722654d3b21f62/community_scripts.json#L907

derfladi commented 9 months ago

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 commented 8 months ago

merged, thank you!