Computer Group - Macs that has Time Machine on

I’m trying to disable Time Machine on all our Macbooks and I have a small script that can set TM status to “OFF” on system preferences. My next step is creating a computer group that seeks out all the Macs with TM “ON” so I can dynamically drop the script on each of those computer.

Does anyone know what kind of relevance I should use in the group? I found a couple of analysis links but there seems to be no indication to the TM status.

https://bigfix.me/analysis/details/45
https://bigfix.me/analysis/details/2998085

I’d make sure to confirm this, but it looks like this relevance line should return true if Time Machine is enabled:

(boolean "AutoBackup" of dictionary of file "com.apple.TimeMachine.plist" of folder "/Library/Preferences")

from: https://github.com/strawgate/C3-Inventory/blob/master/Analyses/Time%20Machine%20-%20Mac.bes

1 Like

If you find another property that indicates this more accurately let me know (on here, comment on bigfix.me or comment on GitHub) and I’ll get the C3 Analysis updated!

Seems to work. Thank you!