I was able to use this simple script to accomplish this, where John is
the Username; dscl . -append /groups/admin GroupMembership john Hope
this helps.
I was able to accomplish this using this simple script, where John is
the Username; dscl . -delete /Groups/admin GroupMembership john Hope
this was helpful