MacOS automating patching, updates and app installation

Hello. We’re using SH to manage a high number of MacOS desktops and laptops. Hoping anyone doing the same can share their strategy and scripts used to manage their Apple environments. thanks.