I haven't been able to find anything or I could be just overlooking something, but is there a script or function to remove someone from a group either from the local machine or globally?

Thanks,
-Dave