How to upgrade brew & cask upgrade by Unix sent command Apple Remote desktop

Hello

I want to use the send unix command in Apple Remote Desktop to upgrade brew & to upgrade the applications installed with Cask. The command runs but doesn’t check & install the upgrades by cask . To check i make ssh connections and run brew cask upgrade --greedy and the applications gets the latest version.

Second problem : Microsoft Office is not the last version in cask?
Kind regards

The command runs but doesn’t check & install the upgrades by cask.

If a tool doesn’t provide a versioned download link or auto-updates brew can’t determine what the version is/should be and therefore will only upgrade with greedy.

Second problem : Microsoft Office is not the last version in cask?

You can use https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask