Posted on 09-13-2022 08:10 PM
Just messing around with creating a script with a co-worker. I've seen some previous scripts that when you run them it launches the systempreferences>Software Update. I'm not very good with scripting, so I'm having issues finding what command actually opens the update window. I'm using a modified version of the script here. We did modify it, but the final step where it shuts down never kicks off. Handling macOS Software Updates with Jamf Pro | Babo D's Corner (wordpress.com).
Posted on 09-14-2022 02:11 AM
Hello @SMR1
The idea behind this script is that it alerts the user that there are required OS updates that need to be installed. Rather than forcing updates to take place through the command line using “softwareupdate”, the user is encouraged to use the macOS GUI to update. When I say macOS GUI, I’m referring to the Software Update mechanism that Apple refers consumers to: https://support.apple.com/en-us/HT201541
I recommend you to switch towards Nudge and you can find the same here
Posted on 09-14-2022 06:30 AM