amidaware / community-scripts

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

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

Closed derfladi closed 4 months ago

derfladi commented 5 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 5 months ago

CLA assistant check
All committers have signed the CLA.

silversword411 commented 5 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 5 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 4 months ago

merged, thank you!