Wrote a really simply fixlet that installs all Apple system updates for clients (we don’t really care about limiting which updates get installed, rather just getting them all installed in a timely manner). Fixlet action looks like this:
Script Type sh
#!/bin/sh
softwareupdate -i -a
shutdown -r now
I want to adjust the relevance to check if there are ANY updates available via “Apple Software Update”, but not sure how to get started. Any help would be much appreciated. Thanks!