Hello,
As it is mentioned in the script description, the $savedMembersAttribute variable must be set to an LDAP name of an attribute, not a value reference. Also, it must be a binary attribute, not a text one. Lastly, make sure that scheduled task includes the Domain Admins group itself in the Activity Scope, not its members.